Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_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.0008196/0.0008196, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008876/0.0008876, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7458/0.7458, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004358, allocations: 8.219 kB / 0.5035 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3844, allocations: 81.58 MB / 0.5832 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.003951/0.3884, allocations: 3.479 MB / 0.5865 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1454/0.5339, allocations: 136.6 MB / 0.72 GB, free: 4.039 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009184/0.5348, allocations: 15.94 kB / 0.72 GB, free: 4.023 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007448/0.5356, allocations: 131 kB / 0.7201 GB, free: 3.895 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.5374, allocations: 381.1 kB / 0.7205 GB, free: 3.523 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.5395, allocations: 0.5981 MB / 0.7211 GB, free: 2.938 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00127/0.5407, allocations: 0.9888 MB / 0.722 GB, free: 1.945 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008131/0.5416, allocations: 452.6 kB / 0.7225 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005698/0.5422, allocations: 290.6 kB / 0.7227 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005376/0.5427, allocations: 314.3 kB / 0.723 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.5428, allocations: 20 kB / 0.7231 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000764/0.5436, allocations: 335.6 kB / 0.7234 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.5438, allocations: 155.3 kB / 0.7235 GB, free: 416 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.544, allocations: 181.1 kB / 0.7237 GB, free: 228 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.5453, allocations: 1.04 MB / 0.7247 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5453, allocations: 0 / 0.7247 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5453, allocations: 0 / 0.7247 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.218e-05/0.5453, allocations: 4 kB / 0.7247 GB, free: 15.18 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001971/0.5473, allocations: 1.12 MB / 0.7258 GB, free: 14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5474, allocations: 12.02 kB / 0.7258 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001959/0.5476, allocations: 126.8 kB / 0.726 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008363/0.5484, allocations: 186.6 kB / 0.7261 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.5495, allocations: 0.6681 MB / 0.7268 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.892e-05/0.5495, allocations: 58 kB / 0.7268 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.056e-05/0.5496, allocations: 72 kB / 0.7269 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.551, allocations: 0.8442 MB / 0.7277 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.5511, allocations: 0 / 0.7277 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.416e-05/0.5512, allocations: 40 kB / 0.7278 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.5512, allocations: 19.95 kB / 0.7278 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.5528, allocations: 1.05 MB / 0.7288 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003513/0.5563, allocations: 2.355 MB / 0.7311 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.5576, allocations: 0.7813 MB / 0.7319 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004516/0.558, allocations: 266.4 kB / 0.7321 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-05/0.5581, allocations: 32.58 kB / 0.7322 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00075/0.5589, allocations: 413.8 kB / 0.7326 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.395e-06/0.5589, allocations: 0 / 0.7326 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002675/0.5616, allocations: 1.063 MB / 0.7336 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.5617, allocations: 192.4 kB / 0.7338 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007592/0.5625, allocations: 0.5744 MB / 0.7343 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.5626, allocations: 41.7 kB / 0.7344 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.5628, allocations: 372.2 kB / 0.7347 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.563, allocations: 232.6 kB / 0.735 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.5631, allocations: 8 kB / 0.735 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.5632, allocations: 382.8 kB / 0.7353 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/0.5636, allocations: 205.2 kB / 0.7355 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004811/0.5641, allocations: 314.7 kB / 0.7358 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.5646, allocations: 259.1 kB / 0.7361 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5646, allocations: 3.938 kB / 0.7361 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001579/0.5662, allocations: 0.7041 MB / 0.7368 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.5663, allocations: 6.031 kB / 0.7368 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.5663, allocations: 4 kB / 0.7368 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005315/0.5668, allocations: 80.88 kB / 0.7369 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/0.5674, allocations: 139.8 kB / 0.737 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.5695, allocations: 1.516 MB / 0.7385 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/0.57, allocations: 83.41 kB / 0.7385 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-05/0.5701, allocations: 31.97 kB / 0.7386 GB, free: 464 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004439/0.5705, allocations: 245.7 kB / 0.7388 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.5707, allocations: 75.11 kB / 0.7389 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.5729, allocations: 0.9663 MB / 0.7398 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.5729, allocations: 8.141 kB / 0.7398 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5729, allocations: 0 / 0.7398 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.5729, allocations: 7.969 kB / 0.7398 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/0.5759, allocations: 1.801 MB / 0.7416 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.5759, allocations: 3.953 kB / 0.7416 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005313/0.5765, allocations: 135.8 kB / 0.7417 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004635/0.577, allocations: 84.77 kB / 0.7418 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/0.577, allocations: 23.98 kB / 0.7418 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.5787, allocations: 1.536 MB / 0.7433 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5787, allocations: 3.938 kB / 0.7433 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.5804, allocations: 0.8869 MB / 0.7442 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.5808, allocations: 271.7 kB / 0.7445 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.5809, allocations: 16 kB / 0.7445 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/0.5814, allocations: 71.88 kB / 0.7445 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.5815, allocations: 56.86 kB / 0.7446 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.5816, allocations: 31.98 kB / 0.7446 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005249/0.5821, allocations: 419 kB / 0.745 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5821, allocations: 0 / 0.745 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007753/0.5829, allocations: 279.3 kB / 0.7453 GB, free: 9.316 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003064/0.586, allocations: 1.92 MB / 0.7472 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.5874, allocations: 0.7044 MB / 0.7479 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5874, allocations: 0 / 0.7479 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007958/0.5882, allocations: 492.2 kB / 0.7483 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.5893, allocations: 245 kB / 0.7486 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008683/0.598, allocations: 4.571 MB / 0.753 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.5986, allocations: 0.9883 MB / 0.754 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007866/0.5994, allocations: 246 kB / 0.7542 GB, free: 272 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.5999, allocations: 343.3 kB / 0.7546 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.5999, allocations: 0 / 0.7546 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.6344, allocations: 19.41 MB / 0.7735 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.6347, allocations: 284.4 kB / 0.7738 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/2.837, allocations: 1.5 kB / 0.7738 GB, free: 12.59 MB / 0.6075 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) Environment - environmentSimulation: