Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4917/0.4917, allocations: 90.91 MB / 99.34 MB, free: 2.164 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 221.5 MB / 343.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009056/0.0009056, allocations: 94.94 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.776e-05/1.78e-05, allocations: 4 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1298, allocations: 72.3 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4334/0.5633, allocations: 102.3 MB / 0.6535 GB, free: 7.785 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.5635, allocations: 89.69 kB / 0.6536 GB, free: 7.734 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008654/0.5722, allocations: 3.244 MB / 0.6567 GB, free: 4.988 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5722, allocations: 0 / 0.6567 GB, free: 4.988 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.5723, allocations: 0 / 0.6567 GB, free: 4.988 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004082/0.5727, allocations: 441.9 kB / 0.6571 GB, free: 4.516 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.5727, allocations: 8.031 kB / 0.6572 GB, free: 4.508 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.5728, allocations: 19.77 kB / 0.6572 GB, free: 4.488 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.573, allocations: 211.3 kB / 0.6574 GB, free: 4.242 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.5731, allocations: 0 / 0.6574 GB, free: 4.242 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.5731, allocations: 4 kB / 0.6574 GB, free: 4.238 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001428/0.5732, allocations: 76.7 kB / 0.6575 GB, free: 4.18 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.5734, allocations: 125.7 kB / 0.6576 GB, free: 4.062 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.5734, allocations: 0 / 0.6576 GB, free: 4.062 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.5735, allocations: 4 kB / 0.6576 GB, free: 4.059 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.5735, allocations: 7.953 kB / 0.6576 GB, free: 4.051 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.5739, allocations: 370.9 kB / 0.6579 GB, free: 3.668 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.574, allocations: 110.4 kB / 0.658 GB, free: 3.562 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.5741, allocations: 87.23 kB / 0.6581 GB, free: 3.488 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.5742, allocations: 3.688 kB / 0.6581 GB, free: 3.488 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.5744, allocations: 171.6 kB / 0.6583 GB, free: 3.312 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.5744, allocations: 0.9375 kB / 0.6583 GB, free: 3.312 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004933/0.5749, allocations: 269.2 kB / 0.6586 GB, free: 3.082 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.5749, allocations: 114.8 kB / 0.6587 GB, free: 2.945 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.5751, allocations: 177.2 kB / 0.6588 GB, free: 2.785 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.5751, allocations: 25.7 kB / 0.6589 GB, free: 2.754 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.5752, allocations: 115.5 kB / 0.659 GB, free: 2.656 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.5752, allocations: 27.05 kB / 0.659 GB, free: 2.633 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.5752, allocations: 0 / 0.659 GB, free: 2.633 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.5753, allocations: 325.4 kB / 0.6593 GB, free: 2.312 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.819e-05/0.5754, allocations: 66.41 kB / 0.6594 GB, free: 2.262 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.42e-05/0.5755, allocations: 95.28 kB / 0.6595 GB, free: 2.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.5756, allocations: 69.08 kB / 0.6595 GB, free: 2.125 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5756, allocations: 0 / 0.6595 GB, free: 2.125 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003644/0.576, allocations: 272.2 kB / 0.6598 GB, free: 1.895 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.576, allocations: 37.69 kB / 0.6598 GB, free: 1.852 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5761, allocations: 0 / 0.6598 GB, free: 1.852 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.5761, allocations: 4 kB / 0.6598 GB, free: 1.848 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.884e-05/0.5761, allocations: 4.094 kB / 0.6598 GB, free: 1.844 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.5762, allocations: 11.98 kB / 0.6598 GB, free: 1.832 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.36e-05/0.5762, allocations: 7.906 kB / 0.6598 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.5763, allocations: 14.61 kB / 0.6599 GB, free: 1.812 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.554e-05/0.5764, allocations: 147.4 kB / 0.66 GB, free: 1.656 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004255/0.5768, allocations: 290.5 kB / 0.6603 GB, free: 1.414 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.5768, allocations: 11.91 kB / 0.6603 GB, free: 1.402 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.577, allocations: 73.83 kB / 0.6604 GB, free: 1.336 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.577, allocations: 7.953 kB / 0.6604 GB, free: 1.328 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.577, allocations: 0 / 0.6604 GB, free: 1.328 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.577, allocations: 0 / 0.6604 GB, free: 1.328 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.5772, allocations: 193.7 kB / 0.6605 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5772, allocations: 64 / 0.6605 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.5772, allocations: 15.98 kB / 0.6606 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5772, allocations: 0 / 0.6606 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.5772, allocations: 7.625 kB / 0.6606 GB, free: 1.098 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5772, allocations: 0 / 0.6606 GB, free: 1.098 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5773, allocations: 4 kB / 0.6606 GB, free: 1.094 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004494/0.5777, allocations: 342.5 kB / 0.6609 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.879e-05/0.5778, allocations: 107.5 kB / 0.661 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.5779, allocations: 11.36 kB / 0.661 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.913e-05/0.5779, allocations: 4 kB / 0.661 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.578, allocations: 7.953 kB / 0.661 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.578, allocations: 11.98 kB / 0.661 GB, free: 0.625 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.763e-05/0.5781, allocations: 153.2 kB / 0.6612 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5781, allocations: 0 / 0.6612 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.5784, allocations: 40 kB / 0.6612 GB, free: 464 kB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006812/0.5791, allocations: 0.9018 MB / 0.6621 GB, free: 15.55 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.5793, allocations: 205.8 kB / 0.6623 GB, free: 15.39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5793, allocations: 0 / 0.6623 GB, free: 15.39 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.5794, allocations: 148.5 kB / 0.6624 GB, free: 15.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.5796, allocations: 11.73 kB / 0.6625 GB, free: 15.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/0.5802, allocations: 290.8 kB / 0.6627 GB, free: 14.95 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.5805, allocations: 0.7229 MB / 0.6634 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.186e-05/0.5805, allocations: 7.984 kB / 0.6634 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.5806, allocations: 35.25 kB / 0.6635 GB, free: 14.19 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5806, allocations: 3.938 kB / 0.6635 GB, free: 14.18 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.6019, allocations: 2.438 MB / 0.6659 GB, free: 11.77 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.6021, allocations: 172.5 kB / 0.666 GB, free: 11.57 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/2.118, allocations: 0 / 0.666 GB, free: 11.57 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)