Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_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.001155/0.001155, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001146/0.001147, allocations: 190.5 kB / 16.25 MB, free: 6.617 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.199/1.199, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6542/0.6542, allocations: 132.2 MB / 422.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 64.66 kB / 0.5014 GB, free: 8.957 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1162, allocations: 80.2 MB / 0.5797 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004934/0.1212, allocations: 4.216 MB / 0.5838 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3173/0.4385, allocations: 148.3 MB / 0.7287 GB, free: 2.797 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006123/0.4392, allocations: 19.09 kB / 0.7287 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005494/0.4398, allocations: 130.5 kB / 0.7288 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.4412, allocations: 437.5 kB / 0.7292 GB, free: 2.488 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.443, allocations: 0.7381 MB / 0.7299 GB, free: 2.109 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.4443, allocations: 1.226 MB / 0.7311 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00078/0.4451, allocations: 0.6303 MB / 0.7318 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/0.4455, allocations: 448.5 kB / 0.7322 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004631/0.446, allocations: 472.5 kB / 0.7326 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.4461, allocations: 106.9 kB / 0.7327 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007221/0.4469, allocations: 471.5 kB / 0.7332 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.4471, allocations: 277.7 kB / 0.7334 GB, free: 388 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.4475, allocations: 0.5139 MB / 0.7339 GB, free: 24 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.4488, allocations: 1.504 MB / 0.7354 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.4488, allocations: 2.688 kB / 0.7354 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4488, allocations: 0 / 0.7354 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.4488, allocations: 0 / 0.7354 GB, free: 15.39 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.001947/0.4508, allocations: 1.363 MB / 0.7368 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.4508, allocations: 9.969 kB / 0.7368 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.451, allocations: 140.2 kB / 0.7369 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008003/0.4518, allocations: 184.1 kB / 0.7371 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007836/0.4526, allocations: 0.7096 MB / 0.7378 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.741e-05/0.4526, allocations: 60.03 kB / 0.7378 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.91e-05/0.4527, allocations: 81.16 kB / 0.7379 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.454, allocations: 0.9 MB / 0.7388 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.4541, allocations: 6.766 kB / 0.7388 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/0.4542, allocations: 33.06 kB / 0.7388 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.4542, allocations: 22.88 kB / 0.7388 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.4557, allocations: 1.094 MB / 0.7399 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.459, allocations: 2.531 MB / 0.7424 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.4607, allocations: 0.8707 MB / 0.7432 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004383/0.4612, allocations: 287.2 kB / 0.7435 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.118e-05/0.4612, allocations: 40.84 kB / 0.7435 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007132/0.462, allocations: 445.3 kB / 0.744 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 1.924e-06/0.462, allocations: 0 / 0.744 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002715/0.4647, allocations: 1.127 MB / 0.7451 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.4648, allocations: 192.6 kB / 0.7452 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006149/0.4654, allocations: 0.5979 MB / 0.7458 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.4655, allocations: 37.7 kB / 0.7459 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.4657, allocations: 376.3 kB / 0.7462 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.4659, allocations: 256.3 kB / 0.7465 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.4661, allocations: 146.2 kB / 0.7466 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4662, allocations: 382.7 kB / 0.747 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/0.4667, allocations: 233.1 kB / 0.7472 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.4672, allocations: 330.8 kB / 0.7475 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009175/0.4681, allocations: 0.5511 MB / 0.7481 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4681, allocations: 0 / 0.7481 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001644/0.4698, allocations: 0.751 MB / 0.7488 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.4698, allocations: 16.03 kB / 0.7488 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4698, allocations: 0 / 0.7488 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/0.4704, allocations: 84.77 kB / 0.7489 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/0.471, allocations: 147.8 kB / 0.749 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.4728, allocations: 1.622 MB / 0.7506 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.4733, allocations: 83.36 kB / 0.7507 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.4734, allocations: 31.97 kB / 0.7507 GB, free: 3.34 MB / 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: 7 (solAzi.outsidePolarCircle,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0002957/0.4737, allocations: 259.2 kB / 0.751 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.4738, allocations: 82.97 kB / 0.751 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.4761, allocations: 1.05 MB / 0.7521 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.4761, allocations: 8 kB / 0.7521 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-06/0.4761, allocations: 0 / 0.7521 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.4761, allocations: 11.91 kB / 0.7521 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.479, allocations: 1.94 MB / 0.754 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.479, allocations: 0 / 0.754 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005648/0.4796, allocations: 163.7 kB / 0.7541 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004211/0.48, allocations: 74.66 kB / 0.7542 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.4801, allocations: 23.98 kB / 0.7542 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.4818, allocations: 1.666 MB / 0.7559 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4818, allocations: 0 / 0.7559 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.4835, allocations: 0.957 MB / 0.7568 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.4838, allocations: 267.8 kB / 0.757 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.4839, allocations: 23.91 kB / 0.7571 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.4845, allocations: 56.92 kB / 0.7571 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.4846, allocations: 64.91 kB / 0.7572 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.705e-05/0.4847, allocations: 35.98 kB / 0.7572 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004451/0.4851, allocations: 439 kB / 0.7576 GB, free: 12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4852, allocations: 0 / 0.7576 GB, free: 12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007255/0.4859, allocations: 291.3 kB / 0.7579 GB, free: 11.71 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003072/0.489, allocations: 2.023 MB / 0.7599 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.4909, allocations: 0.9616 MB / 0.7608 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.491, allocations: 4.188 kB / 0.7608 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007947/0.4918, allocations: 0.5119 MB / 0.7613 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4928, allocations: 286.6 kB / 0.7616 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.5032, allocations: 6.61 MB / 0.7681 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.5037, allocations: 1.017 MB / 0.7691 GB, free: 396 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007179/0.5044, allocations: 258.5 kB / 0.7693 GB, free: 132 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.5049, allocations: 367.4 kB / 0.7697 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.5049, allocations: 4 kB / 0.7697 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2335/0.7384, allocations: 20.23 MB / 0.7894 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.7386, allocations: 297.7 kB / 0.7897 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/3.022, allocations: 2.953 kB / 0.7897 GB, free: 11.55 MB / 0.6075 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)