Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 194.5 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.056/2.056, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001173, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4827, allocations: 140.4 MB / 0.9491 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004212/0.487, allocations: 4.293 MB / 0.9532 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1342/0.6212, allocations: 148.2 MB / 1.098 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006323/0.6219, allocations: 19.88 kB / 1.098 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004398/0.6223, allocations: 131 kB / 1.098 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.6235, allocations: 441.2 kB / 1.099 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.625, allocations: 0.7111 MB / 1.099 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008821/0.6259, allocations: 1.195 MB / 1.1 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000679/0.6266, allocations: 0.5865 MB / 1.101 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.6269, allocations: 394.3 kB / 1.101 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.6273, allocations: 461.8 kB / 1.102 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.6274, allocations: 52 kB / 1.102 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005705/0.628, allocations: 403.6 kB / 1.102 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.6282, allocations: 227.1 kB / 1.102 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003536/0.6286, allocations: 493.1 kB / 1.103 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.6297, allocations: 1.495 MB / 1.104 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.6298, allocations: 0 / 1.104 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.01e-07/0.6298, allocations: 0 / 1.104 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.6298, allocations: 0 / 1.104 GB, free: 2.422 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002092/0.6319, allocations: 1.396 MB / 1.106 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.6319, allocations: 8.031 kB / 1.106 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.632, allocations: 131.3 kB / 1.106 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007975/0.6328, allocations: 183.4 kB / 1.106 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008443/0.6337, allocations: 0.742 MB / 1.107 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/0.6338, allocations: 62 kB / 1.107 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.791e-05/0.6339, allocations: 80 kB / 1.107 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.6352, allocations: 0.9027 MB / 1.108 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.6352, allocations: 4 kB / 1.108 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/0.6353, allocations: 39.98 kB / 1.108 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.6353, allocations: 20 kB / 1.108 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.6369, allocations: 1.096 MB / 1.109 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/0.6401, allocations: 2.465 MB / 1.111 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.6414, allocations: 0.86 MB / 1.112 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004786/0.6419, allocations: 294.7 kB / 1.112 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.288e-05/0.642, allocations: 44.47 kB / 1.113 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007711/0.6428, allocations: 483.2 kB / 1.113 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 1.833e-06/0.6428, allocations: 0 / 1.113 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.002731/0.6455, allocations: 1.174 MB / 1.114 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.6456, allocations: 196.6 kB / 1.114 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000634/0.6463, allocations: 0.6137 MB / 1.115 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.6463, allocations: 41.7 kB / 1.115 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.6466, allocations: 396.3 kB / 1.115 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.6467, allocations: 260.2 kB / 1.116 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.6469, allocations: 146.5 kB / 1.116 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6471, allocations: 386.7 kB / 1.116 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004346/0.6475, allocations: 237.9 kB / 1.116 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.6481, allocations: 362.5 kB / 1.117 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000933/0.649, allocations: 0.5683 MB / 1.117 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.649, allocations: 0 / 1.117 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001639/0.6507, allocations: 0.7862 MB / 1.118 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.6507, allocations: 4 kB / 1.118 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6507, allocations: 0 / 1.118 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000531/0.6512, allocations: 84.86 kB / 1.118 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.6518, allocations: 147.8 kB / 1.118 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.6536, allocations: 1.524 MB / 1.12 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.6541, allocations: 87.39 kB / 1.12 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.6542, allocations: 27.98 kB / 1.12 GB, free: 2.082 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003099/0.6545, allocations: 265.6 kB / 1.12 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.6546, allocations: 87.06 kB / 1.12 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.6568, allocations: 1.054 MB / 1.121 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.6568, allocations: 12 kB / 1.121 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.6568, allocations: 0 / 1.121 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.6568, allocations: 3.984 kB / 1.121 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.6595, allocations: 1.907 MB / 1.123 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6595, allocations: 0 / 1.123 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/0.6601, allocations: 143.7 kB / 1.123 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/0.6605, allocations: 80.78 kB / 1.123 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/0.6606, allocations: 27.97 kB / 1.123 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.6622, allocations: 1.544 MB / 1.125 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6622, allocations: 3.938 kB / 1.125 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.664, allocations: 0.9767 MB / 1.126 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.6643, allocations: 275.7 kB / 1.126 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.6644, allocations: 19.98 kB / 1.126 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005954/0.665, allocations: 63.94 kB / 1.126 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.6651, allocations: 76.77 kB / 1.126 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/0.6652, allocations: 35.98 kB / 1.126 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004641/0.6657, allocations: 455 kB / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6657, allocations: 3.938 kB / 1.127 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006643/0.6664, allocations: 299.3 kB / 1.127 GB, free: 10.52 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003089/0.6694, allocations: 2.03 MB / 1.129 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.6708, allocations: 0.7805 MB / 1.13 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6708, allocations: 4.188 kB / 1.13 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008116/0.6716, allocations: 0.508 MB / 1.13 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.6727, allocations: 267.2 kB / 1.13 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.6832, allocations: 6.819 MB / 1.137 GB, free: 160 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.6837, allocations: 1.015 MB / 1.138 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007/0.6844, allocations: 258.6 kB / 1.138 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004674/0.6849, allocations: 375.3 kB / 1.139 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.6849, allocations: 0 / 1.139 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7374/1.422, allocations: 19.94 MB / 1.158 GB, free: 10.93 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003373/1.423, allocations: 311.2 kB / 1.158 GB, free: 10.55 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.217/3.64, allocations: 4.328 kB / 1.158 GB, free: 10.55 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)