Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001066/0.001066, 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.001145/0.001145, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.258/1.258, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 282.8 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8934/0.8934, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 91.5 kB / 0.5946 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1379, allocations: 86.99 MB / 0.6796 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005552/0.1435, allocations: 4.498 MB / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3866/0.5301, allocations: 148.4 MB / 0.8288 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007057/0.5309, allocations: 15.78 kB / 0.8288 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004573/0.5313, allocations: 149.5 kB / 0.829 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.5326, allocations: 450.3 kB / 0.8294 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.5341, allocations: 0.7581 MB / 0.8302 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009748/0.5351, allocations: 1.289 MB / 0.8314 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007021/0.5358, allocations: 0.6195 MB / 0.832 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004645/0.5362, allocations: 449 kB / 0.8324 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004182/0.5367, allocations: 0.494 MB / 0.8329 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.5368, allocations: 59.12 kB / 0.833 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007389/0.5375, allocations: 423.9 kB / 0.8334 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.5378, allocations: 252.4 kB / 0.8336 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.5381, allocations: 0.5156 MB / 0.8341 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.5394, allocations: 1.607 MB / 0.8357 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.5394, allocations: 0 / 0.8357 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.71e-07/0.5394, allocations: 0 / 0.8357 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.5395, allocations: 1 kB / 0.8357 GB, free: 15.84 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002647/0.5421, allocations: 1.488 MB / 0.8372 GB, free: 15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.5422, allocations: 8.844 kB / 0.8372 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.5423, allocations: 138.1 kB / 0.8373 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.5432, allocations: 197.3 kB / 0.8375 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009444/0.5442, allocations: 0.7669 MB / 0.8382 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.5442, allocations: 65.5 kB / 0.8383 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.5443, allocations: 89.02 kB / 0.8384 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.5459, allocations: 0.9794 MB / 0.8393 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.5459, allocations: 0 / 0.8393 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.233e-05/0.546, allocations: 37.56 kB / 0.8394 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.5461, allocations: 21.31 kB / 0.8394 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.5478, allocations: 1.167 MB / 0.8405 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003934/0.5517, allocations: 2.706 MB / 0.8432 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.5537, allocations: 0.9749 MB / 0.8441 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/0.5543, allocations: 325.9 kB / 0.8444 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.122e-05/0.5544, allocations: 42.8 kB / 0.8445 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009033/0.5553, allocations: 0.5354 MB / 0.845 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.335e-06/0.5553, allocations: 0 / 0.845 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003137/0.5584, allocations: 1.291 MB / 0.8463 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.5586, allocations: 194.4 kB / 0.8465 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007391/0.5593, allocations: 0.6543 MB / 0.8471 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.819e-05/0.5594, allocations: 42.55 kB / 0.8471 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.5597, allocations: 410.5 kB / 0.8475 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.5599, allocations: 278.1 kB / 0.8478 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.5601, allocations: 166.9 kB / 0.8479 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.5603, allocations: 388.5 kB / 0.8483 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/0.5608, allocations: 264.8 kB / 0.8486 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006557/0.5615, allocations: 388.5 kB / 0.8489 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.5626, allocations: 0.6295 MB / 0.8496 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5626, allocations: 2.719 kB / 0.8496 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001957/0.5646, allocations: 0.873 MB / 0.8504 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5646, allocations: 4.906 kB / 0.8504 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5646, allocations: 2.531 kB / 0.8504 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.5652, allocations: 79.7 kB / 0.8505 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006741/0.5659, allocations: 167.4 kB / 0.8507 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.5679, allocations: 1.526 MB / 0.8521 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007896/0.5687, allocations: 93.19 kB / 0.8522 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.5688, allocations: 32.88 kB / 0.8523 GB, free: 5.844 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0005132/0.5693, allocations: 282.3 kB / 0.8525 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.5695, allocations: 88.66 kB / 0.8526 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.5721, allocations: 1.187 MB / 0.8538 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.5721, allocations: 14.56 kB / 0.8538 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.5721, allocations: 2.094 kB / 0.8538 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.5721, allocations: 11.95 kB / 0.8538 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.5755, allocations: 2.109 MB / 0.8559 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5755, allocations: 0 / 0.8559 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006278/0.5761, allocations: 172.8 kB / 0.856 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005441/0.5767, allocations: 79.81 kB / 0.8561 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.428e-05/0.5767, allocations: 27.97 kB / 0.8561 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.5785, allocations: 1.536 MB / 0.8576 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5786, allocations: 3.938 kB / 0.8576 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.5807, allocations: 1.096 MB / 0.8587 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/0.5812, allocations: 291.8 kB / 0.859 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.5814, allocations: 17.84 kB / 0.859 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007448/0.5821, allocations: 74.02 kB / 0.8591 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.5823, allocations: 82.59 kB / 0.8592 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.5824, allocations: 40.77 kB / 0.8592 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005605/0.583, allocations: 479.5 kB / 0.8596 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.583, allocations: 0 / 0.8596 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008954/0.5839, allocations: 337.1 kB / 0.86 GB, free: 0.6172 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003646/0.5875, allocations: 2.165 MB / 0.8621 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.5892, allocations: 0.8627 MB / 0.8629 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5892, allocations: 0 / 0.8629 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009393/0.5902, allocations: 0.5619 MB / 0.8635 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.5914, allocations: 275.6 kB / 0.8637 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.6047, allocations: 7.321 MB / 0.8709 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.6053, allocations: 1.049 MB / 0.8719 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009792/0.6063, allocations: 277.5 kB / 0.8722 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005793/0.6069, allocations: 413.6 kB / 0.8726 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.6069, allocations: 0 / 0.8726 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04075/0.6477, allocations: 21.51 MB / 0.8936 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002562/0.648, allocations: 325.2 kB / 0.8939 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.935, allocations: 2.75 kB / 0.8939 GB, free: 3.727 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)