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.0008006/0.0008004, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.006163/0.006163, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.287/1.287, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8788/0.8788, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 8 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1595, allocations: 82.3 MB / 0.5881 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004298/0.1638, allocations: 3.732 MB / 0.5917 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3838/0.5476, allocations: 146.6 MB / 0.7348 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005806/0.5482, allocations: 15.22 kB / 0.7349 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004833/0.5487, allocations: 143.7 kB / 0.735 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.5501, allocations: 396.5 kB / 0.7354 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.5518, allocations: 0.694 MB / 0.7361 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.5531, allocations: 1.107 MB / 0.7371 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007486/0.5539, allocations: 0.5717 MB / 0.7377 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004322/0.5543, allocations: 311.3 kB / 0.738 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.5547, allocations: 333.2 kB / 0.7383 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.605e-05/0.5548, allocations: 21.25 kB / 0.7383 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007024/0.5555, allocations: 367.5 kB / 0.7387 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.5557, allocations: 167.5 kB / 0.7388 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003208/0.556, allocations: 424.7 kB / 0.7392 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.5572, allocations: 1.356 MB / 0.7406 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5572, allocations: 2.344 kB / 0.7406 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.156e-06/0.5573, allocations: 1.094 kB / 0.7406 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.5573, allocations: 3.938 kB / 0.7406 GB, free: 11.77 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.001687/0.559, allocations: 1.133 MB / 0.7417 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.559, allocations: 9.469 kB / 0.7417 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.5592, allocations: 126.5 kB / 0.7418 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000779/0.5599, allocations: 190.7 kB / 0.742 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008141/0.5608, allocations: 0.7045 MB / 0.7427 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.5608, allocations: 57.34 kB / 0.7427 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-05/0.5609, allocations: 79.38 kB / 0.7428 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.5622, allocations: 0.8765 MB / 0.7437 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.5622, allocations: 4 kB / 0.7437 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.072e-05/0.5623, allocations: 32.25 kB / 0.7437 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.5623, allocations: 20.62 kB / 0.7437 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.5639, allocations: 1.075 MB / 0.7448 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003152/0.567, allocations: 2.417 MB / 0.7471 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.5682, allocations: 0.8068 MB / 0.7479 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.5686, allocations: 284.8 kB / 0.7482 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.223e-05/0.5687, allocations: 35.19 kB / 0.7482 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006399/0.5693, allocations: 434.6 kB / 0.7486 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.844e-06/0.5693, allocations: 0 / 0.7486 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002537/0.5719, allocations: 1.097 MB / 0.7497 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/0.572, allocations: 187.5 kB / 0.7499 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005794/0.5726, allocations: 0.5846 MB / 0.7505 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.5726, allocations: 39.8 kB / 0.7505 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.5729, allocations: 378.7 kB / 0.7509 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.573, allocations: 235.4 kB / 0.7511 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.5731, allocations: 54.16 kB / 0.7511 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5733, allocations: 388.4 kB / 0.7515 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.5737, allocations: 218.9 kB / 0.7517 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/0.5742, allocations: 327.6 kB / 0.752 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009124/0.5751, allocations: 0.548 MB / 0.7526 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5751, allocations: 0 / 0.7526 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001554/0.5767, allocations: 0.7353 MB / 0.7533 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5767, allocations: 6.031 kB / 0.7533 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5767, allocations: 4 kB / 0.7533 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005547/0.5773, allocations: 84.89 kB / 0.7534 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/0.5778, allocations: 143.8 kB / 0.7535 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08442/0.6622, allocations: 1.522 MB / 0.755 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008939/0.6631, allocations: 89.69 kB / 0.7551 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.557e-05/0.6632, allocations: 27.92 kB / 0.7551 GB, free: 0.6758 MB / 0.5606 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.000516/0.6637, allocations: 245.7 kB / 0.7553 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.6639, allocations: 82.98 kB / 0.7554 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/0.6666, allocations: 1.026 MB / 0.7564 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.6666, allocations: 8 kB / 0.7564 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6666, allocations: 0 / 0.7564 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.6666, allocations: 7.984 kB / 0.7564 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.6698, allocations: 1.877 MB / 0.7583 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6698, allocations: 0 / 0.7583 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.6703, allocations: 147.8 kB / 0.7584 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005179/0.6709, allocations: 92.66 kB / 0.7585 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.6709, allocations: 23.98 kB / 0.7585 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.6728, allocations: 1.536 MB / 0.76 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6728, allocations: 0 / 0.76 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.6745, allocations: 0.9335 MB / 0.7609 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.6749, allocations: 267.8 kB / 0.7612 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.696e-05/0.675, allocations: 16 kB / 0.7612 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005743/0.6756, allocations: 67.94 kB / 0.7613 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.6757, allocations: 64.84 kB / 0.7613 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/0.6758, allocations: 31.98 kB / 0.7614 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005354/0.6763, allocations: 435 kB / 0.7618 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6764, allocations: 0 / 0.7618 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008275/0.6772, allocations: 279.3 kB / 0.762 GB, free: 9.32 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.003104/0.6803, allocations: 1.978 MB / 0.764 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.6816, allocations: 0.7309 MB / 0.7647 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6817, allocations: 0 / 0.7647 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007863/0.6824, allocations: 0.4971 MB / 0.7652 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.6836, allocations: 261.9 kB / 0.7654 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.6938, allocations: 6.521 MB / 0.7718 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.6944, allocations: 1.005 MB / 0.7728 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007211/0.6951, allocations: 250.3 kB / 0.773 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/0.6955, allocations: 351.3 kB / 0.7733 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.6956, allocations: 3.938 kB / 0.7733 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.81/2.506, allocations: 18.75 MB / 0.7917 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/2.506, allocations: 311.5 kB / 0.792 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.126/5.632, allocations: 0 / 0.792 GB, free: 11.04 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)