Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.005265/0.005265, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7785/0.7785, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.2 MB / 406.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009257, allocations: 98.77 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003825, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.4603, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.669/5.129, allocations: 1.694 GB / 2.343 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/5.13, allocations: 99.03 kB / 2.343 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1286/5.258, allocations: 59.63 MB / 2.402 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.687e-06/5.258, allocations: 0 / 2.402 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001216/5.258, allocations: 27.34 kB / 2.402 GB, free: 175.1 MB / 0.6823 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.00307/5.261, allocations: 1.177 MB / 2.403 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/5.262, allocations: 11.8 kB / 2.403 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003682/5.262, allocations: 134.9 kB / 2.403 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/5.263, allocations: 192.2 kB / 2.403 GB, free: 174 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/5.264, allocations: 0.6077 MB / 2.404 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/5.264, allocations: 66.38 kB / 2.404 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.593e-05/5.265, allocations: 71.47 kB / 2.404 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/5.266, allocations: 0.8779 MB / 2.405 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/5.266, allocations: 0 / 2.405 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.455e-05/5.266, allocations: 30.94 kB / 2.405 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/5.266, allocations: 23.2 kB / 2.405 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/5.268, allocations: 1.084 MB / 2.406 GB, free: 173 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004122/5.272, allocations: 2.407 MB / 2.408 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/5.273, allocations: 0.8073 MB / 2.409 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.322e-05/5.273, allocations: 36.44 kB / 2.409 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00069/5.274, allocations: 423.4 kB / 2.409 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 2.355e-06/5.274, allocations: 0 / 2.409 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.002785/5.277, allocations: 1.109 MB / 2.41 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/5.277, allocations: 239.8 kB / 2.411 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007418/5.278, allocations: 0.588 MB / 2.411 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/5.278, allocations: 39.55 kB / 2.411 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/5.278, allocations: 378.1 kB / 2.412 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/5.278, allocations: 240.1 kB / 2.412 GB, free: 170 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/5.278, allocations: 9.375 kB / 2.412 GB, free: 170 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001105/5.278, allocations: 381.8 kB / 2.412 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/5.279, allocations: 217 kB / 2.412 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/5.279, allocations: 338.3 kB / 2.413 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/5.28, allocations: 261.2 kB / 2.413 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/5.28, allocations: 3.875 kB / 2.413 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001487/5.281, allocations: 0.7341 MB / 2.414 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/5.281, allocations: 7.781 kB / 2.414 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/5.281, allocations: 0 / 2.414 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/5.282, allocations: 86.64 kB / 2.414 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/5.282, allocations: 133.1 kB / 2.414 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/5.284, allocations: 1.542 MB / 2.415 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/5.285, allocations: 77.28 kB / 2.415 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/5.285, allocations: 27.23 kB / 2.415 GB, free: 167.8 MB / 0.6823 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 (76): * Single equations (assignments): 75 * 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.000386/5.285, allocations: 265.4 kB / 2.416 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/5.285, allocations: 74.31 kB / 2.416 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/5.287, allocations: 1.017 MB / 2.417 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/5.287, allocations: 11.62 kB / 2.417 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/5.287, allocations: 0 / 2.417 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/5.287, allocations: 7.969 kB / 2.417 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/5.29, allocations: 1.927 MB / 2.419 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/5.29, allocations: 0 / 2.419 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/5.291, allocations: 144.7 kB / 2.419 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/5.291, allocations: 83.08 kB / 2.419 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/5.291, allocations: 22.95 kB / 2.419 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/5.293, allocations: 1.56 MB / 2.42 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/5.293, allocations: 0 / 2.42 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/5.294, allocations: 0.9277 MB / 2.421 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/5.295, allocations: 283.4 kB / 2.422 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.822e-05/5.295, allocations: 16.22 kB / 2.422 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/5.295, allocations: 70.94 kB / 2.422 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/5.295, allocations: 64.12 kB / 2.422 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/5.296, allocations: 31.16 kB / 2.422 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005745/5.296, allocations: 489 kB / 2.422 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.296, allocations: 0 / 2.422 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001214/5.297, allocations: 354.2 kB / 2.423 GB, free: 164.3 MB / 0.6823 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 (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.00377/5.301, allocations: 2.429 MB / 2.425 GB, free: 163 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001404/5.303, allocations: 0.7339 MB / 2.426 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/5.303, allocations: 0 / 2.426 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007416/5.303, allocations: 0.4915 MB / 2.426 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/5.304, allocations: 239.5 kB / 2.426 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008125/5.312, allocations: 5.162 MB / 2.431 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/5.313, allocations: 1.025 MB / 2.432 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008824/5.314, allocations: 258 kB / 2.433 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/5.314, allocations: 347.9 kB / 2.433 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.573e-06/5.314, allocations: 0 / 2.433 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04514/5.359, allocations: 29.18 MB / 2.462 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002907/5.36, allocations: 267.8 kB / 2.462 GB, free: 132 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/8.437, allocations: 10.97 kB / 2.462 GB, free: 132 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)