Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_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.00496/0.00496, allocations: 103.2 kB / 15.73 MB, free: 6.047 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.001095/0.001095, allocations: 189.3 kB / 16.67 MB, free: 5.969 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 288.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.914/0.914, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 95.84 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.4524, allocations: 86.98 MB / 0.7659 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005796/0.4583, allocations: 4.286 MB / 0.7701 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1545/0.6128, allocations: 150.5 MB / 0.9171 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007877/0.6137, allocations: 19.88 kB / 0.9171 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007284/0.6144, allocations: 174.4 kB / 0.9173 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.6164, allocations: 0.4932 MB / 0.9177 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.6186, allocations: 0.8266 MB / 0.9186 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001626/0.6202, allocations: 1.281 MB / 0.9198 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.6215, allocations: 0.6216 MB / 0.9204 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.6227, allocations: 466.4 kB / 0.9209 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.6239, allocations: 485.8 kB / 0.9213 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005206/0.6244, allocations: 112 kB / 0.9214 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.6259, allocations: 487.6 kB / 0.9219 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004346/0.6264, allocations: 287.1 kB / 0.9222 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005815/0.627, allocations: 0.5324 MB / 0.9227 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.629, allocations: 1.585 MB / 0.9242 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.629, allocations: 3.938 kB / 0.9242 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.284e-06/0.629, allocations: 0 / 0.9242 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.918e-05/0.6291, allocations: 0 / 0.9242 GB, free: 1.039 MB / 0.6856 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.002736/0.6318, allocations: 1.395 MB / 0.9256 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6319, allocations: 16.03 kB / 0.9256 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/0.632, allocations: 135.3 kB / 0.9257 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008999/0.6329, allocations: 175.4 kB / 0.9259 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.6341, allocations: 0.7576 MB / 0.9266 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.61e-05/0.6342, allocations: 65.94 kB / 0.9267 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.807e-05/0.6343, allocations: 83.98 kB / 0.9268 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.6358, allocations: 0.8989 MB / 0.9277 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.6358, allocations: 8 kB / 0.9277 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-05/0.6359, allocations: 36 kB / 0.9277 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.6359, allocations: 23.94 kB / 0.9277 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.6375, allocations: 1.089 MB / 0.9288 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/0.6411, allocations: 2.449 MB / 0.9312 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.6425, allocations: 0.8618 MB / 0.932 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/0.643, allocations: 297.4 kB / 0.9323 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.095e-05/0.6431, allocations: 36.55 kB / 0.9323 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007927/0.6439, allocations: 491.1 kB / 0.9328 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 2.054e-06/0.6439, allocations: 0 / 0.9328 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.002927/0.6468, allocations: 1.17 MB / 0.934 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.6469, allocations: 188.6 kB / 0.9341 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007307/0.6477, allocations: 0.6253 MB / 0.9347 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.383e-05/0.6478, allocations: 45.7 kB / 0.9348 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.6481, allocations: 384.3 kB / 0.9352 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.6483, allocations: 264.3 kB / 0.9354 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.6485, allocations: 146.5 kB / 0.9356 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.6487, allocations: 390.6 kB / 0.9359 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.6491, allocations: 237.9 kB / 0.9362 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/0.6497, allocations: 354.6 kB / 0.9365 GB, free: 4.098 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/0.6506, allocations: 0.5643 MB / 0.937 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.6507, allocations: 8 kB / 0.937 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001774/0.6524, allocations: 0.7863 MB / 0.9378 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.6525, allocations: 4 kB / 0.9378 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.6525, allocations: 3.984 kB / 0.9378 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005986/0.6531, allocations: 88.8 kB / 0.9379 GB, free: 2.621 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.6537, allocations: 147.8 kB / 0.938 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.6558, allocations: 1.619 MB / 0.9396 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/0.6565, allocations: 91.27 kB / 0.9397 GB, free: 0.625 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/0.6565, allocations: 27.98 kB / 0.9397 GB, free: 0.5977 MB / 0.7012 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.0004071/0.657, allocations: 269.8 kB / 0.94 GB, free: 332 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.6571, allocations: 83.06 kB / 0.9401 GB, free: 248 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.6593, allocations: 1.05 MB / 0.9411 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.6593, allocations: 8 kB / 0.9411 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.6594, allocations: 3.938 kB / 0.9411 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.6594, allocations: 7.922 kB / 0.9411 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/0.6623, allocations: 1.908 MB / 0.943 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6623, allocations: 0 / 0.943 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/0.6629, allocations: 139.8 kB / 0.9431 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004395/0.6633, allocations: 68.8 kB / 0.9432 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.289e-05/0.6634, allocations: 27.97 kB / 0.9432 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.6654, allocations: 1.662 MB / 0.9448 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6654, allocations: 0 / 0.9448 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.6675, allocations: 0.9824 MB / 0.9458 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.6679, allocations: 275.7 kB / 0.9461 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.668, allocations: 20 kB / 0.9461 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006194/0.6686, allocations: 59.94 kB / 0.9461 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.6688, allocations: 72.89 kB / 0.9462 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.413e-05/0.6688, allocations: 35.98 kB / 0.9462 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005428/0.6694, allocations: 455 kB / 0.9467 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6694, allocations: 0 / 0.9467 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008295/0.6702, allocations: 299.3 kB / 0.947 GB, free: 8.938 MB / 0.7169 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.003379/0.6736, allocations: 2.043 MB / 0.949 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.6752, allocations: 0.7845 MB / 0.9497 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6752, allocations: 0 / 0.9497 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008625/0.6761, allocations: 0.5081 MB / 0.9502 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.6772, allocations: 290.8 kB / 0.9505 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3434/1.021, allocations: 6.21 MB / 0.9566 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/1.021, allocations: 1.015 MB / 0.9575 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000938/1.022, allocations: 263.4 kB / 0.9578 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/1.023, allocations: 379.6 kB / 0.9582 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of SimCode: time 6.21e-07/1.023, allocations: 0 / 0.9582 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04402/1.067, allocations: 21.34 MB / 0.979 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/13.14, allocations: 16.33 kB / 0.979 GB, free: 173.4 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)