Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.001095/0.001095, 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.001366/0.001366, allocations: 191 kB / 16.25 MB, free: 6.629 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.143/1.143, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7693/0.7693, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 64.02 kB / 0.505 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1182, allocations: 80.93 MB / 0.584 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004771/0.123, allocations: 4.143 MB / 0.588 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3118/0.4349, allocations: 148.2 MB / 0.7328 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000561/0.4355, allocations: 23.84 kB / 0.7328 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005205/0.436, allocations: 129.1 kB / 0.7329 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.4373, allocations: 423.5 kB / 0.7334 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.4389, allocations: 0.7112 MB / 0.734 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009195/0.4398, allocations: 1.181 MB / 0.7352 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007245/0.4405, allocations: 0.6151 MB / 0.7358 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004057/0.4409, allocations: 438.5 kB / 0.7362 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004179/0.4414, allocations: 459.1 kB / 0.7367 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.4415, allocations: 103.5 kB / 0.7368 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005003/0.442, allocations: 452.2 kB / 0.7372 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.4422, allocations: 271 kB / 0.7374 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003194/0.4425, allocations: 0.4947 MB / 0.7379 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.4437, allocations: 1.444 MB / 0.7393 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.4437, allocations: 0 / 0.7393 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4437, allocations: 1.781 kB / 0.7393 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.4437, allocations: 0 / 0.7393 GB, free: 10.54 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001833/0.4455, allocations: 1.337 MB / 0.7406 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.4456, allocations: 13.62 kB / 0.7407 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/0.4457, allocations: 130.3 kB / 0.7408 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007651/0.4465, allocations: 173.8 kB / 0.7409 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007907/0.4473, allocations: 0.7068 MB / 0.7416 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.4473, allocations: 61.97 kB / 0.7417 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.4474, allocations: 81.7 kB / 0.7418 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.4487, allocations: 0.8645 MB / 0.7426 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.4487, allocations: 0 / 0.7426 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/0.4488, allocations: 33.77 kB / 0.7427 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.4488, allocations: 19.16 kB / 0.7427 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.4501, allocations: 1.067 MB / 0.7437 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002935/0.4531, allocations: 2.382 MB / 0.746 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.4542, allocations: 0.8046 MB / 0.7468 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003924/0.4546, allocations: 280.2 kB / 0.7471 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.707e-05/0.4547, allocations: 29.5 kB / 0.7471 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006765/0.4553, allocations: 437.1 kB / 0.7475 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.714e-06/0.4554, allocations: 0 / 0.7475 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.00257/0.4579, allocations: 1.077 MB / 0.7486 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.458, allocations: 192.6 kB / 0.7488 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/0.4586, allocations: 0.5861 MB / 0.7493 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.4587, allocations: 45.64 kB / 0.7494 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.4589, allocations: 376.2 kB / 0.7497 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.4591, allocations: 236.5 kB / 0.75 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.4593, allocations: 138.2 kB / 0.7501 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4594, allocations: 382.8 kB / 0.7505 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.4598, allocations: 217.2 kB / 0.7507 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/0.4603, allocations: 323.6 kB / 0.751 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.4611, allocations: 0.5285 MB / 0.7515 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4611, allocations: 7.938 kB / 0.7515 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001498/0.4626, allocations: 0.7236 MB / 0.7522 GB, free: 356 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.4627, allocations: 4 kB / 0.7522 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.4627, allocations: 4 kB / 0.7522 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/0.4632, allocations: 80.89 kB / 0.7523 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/0.4637, allocations: 143.8 kB / 0.7524 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.4655, allocations: 1.633 MB / 0.754 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.466, allocations: 78.92 kB / 0.7541 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.4661, allocations: 27.98 kB / 0.7541 GB, free: 14.24 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (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 (77): * Single equations (assignments): 76 * 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.000291/0.4664, allocations: 249.8 kB / 0.7544 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.4665, allocations: 83 kB / 0.7545 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.4686, allocations: 1.008 MB / 0.7554 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4686, allocations: 11.75 kB / 0.7554 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4686, allocations: 0 / 0.7554 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4686, allocations: 3.984 kB / 0.7555 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.4713, allocations: 1.869 MB / 0.7573 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.4713, allocations: 4 kB / 0.7573 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/0.4718, allocations: 147.8 kB / 0.7574 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004026/0.4722, allocations: 68.78 kB / 0.7575 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.4722, allocations: 27.98 kB / 0.7575 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.4739, allocations: 1.658 MB / 0.7591 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.4739, allocations: 3.938 kB / 0.7591 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.4755, allocations: 0.9102 MB / 0.76 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.4757, allocations: 263.8 kB / 0.7603 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.4759, allocations: 23.88 kB / 0.7603 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005201/0.4764, allocations: 51.89 kB / 0.7604 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.4765, allocations: 68.91 kB / 0.7604 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.4766, allocations: 31.98 kB / 0.7604 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004129/0.477, allocations: 431 kB / 0.7609 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.477, allocations: 0 / 0.7609 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006165/0.4776, allocations: 279.3 kB / 0.7611 GB, free: 6.828 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 (87): * Single equations (assignments): 84 * 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.002829/0.4805, allocations: 1.967 MB / 0.763 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.4822, allocations: 0.9144 MB / 0.7639 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4822, allocations: 0 / 0.7639 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007477/0.483, allocations: 0.493 MB / 0.7644 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.484, allocations: 277.4 kB / 0.7647 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009675/0.4937, allocations: 6.433 MB / 0.771 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.4942, allocations: 1.004 MB / 0.7719 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006725/0.4948, allocations: 262.2 kB / 0.7722 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/0.4953, allocations: 351.3 kB / 0.7725 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.4953, allocations: 0 / 0.7725 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.5293, allocations: 19.57 MB / 0.7916 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/0.5296, allocations: 312.8 kB / 0.7919 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.518, allocations: 0 / 0.7919 GB, free: 7.641 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)