Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001217/0.001217, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7187/0.7187, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.576/1.576, allocations: 221.3 MB / 400.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009469/0.0009469, allocations: 95.33 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.928e-05, allocations: 1.281 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1896, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.153/5.342, allocations: 1.693 GB / 2.334 GB, free: 241.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003912/5.343, allocations: 87.02 kB / 2.334 GB, free: 241 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1744/5.517, allocations: 63.46 MB / 2.396 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.575e-06/5.517, allocations: 3.938 kB / 2.396 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001312/5.517, allocations: 23.94 kB / 2.396 GB, free: 177.4 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002654/5.52, allocations: 1.062 MB / 2.397 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/5.52, allocations: 12.03 kB / 2.397 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002987/5.52, allocations: 126.9 kB / 2.397 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/5.522, allocations: 186.6 kB / 2.397 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/5.523, allocations: 0.5959 MB / 2.398 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/5.523, allocations: 61.98 kB / 2.398 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/5.523, allocations: 76 kB / 2.398 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/5.525, allocations: 0.8209 MB / 2.399 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/5.525, allocations: 0 / 2.399 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.005e-05/5.525, allocations: 36 kB / 2.399 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/5.525, allocations: 27.94 kB / 2.399 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/5.526, allocations: 1.015 MB / 2.4 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003435/5.53, allocations: 2.422 MB / 2.402 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009509/5.53, allocations: 0.7664 MB / 2.403 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/5.531, allocations: 258.5 kB / 2.403 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.848e-05/5.531, allocations: 32.52 kB / 2.403 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005981/5.532, allocations: 402.9 kB / 2.404 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.745e-06/5.532, allocations: 0 / 2.404 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001519/5.533, allocations: 0.6745 MB / 2.404 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.506e-05/5.533, allocations: 247.9 kB / 2.405 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006555/5.534, allocations: 0.5737 MB / 2.405 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/5.534, allocations: 41.64 kB / 2.405 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/5.534, allocations: 372.3 kB / 2.406 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/5.534, allocations: 228.7 kB / 2.406 GB, free: 167 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/5.534, allocations: 8 kB / 2.406 GB, free: 167 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.968e-05/5.534, allocations: 382.8 kB / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/5.535, allocations: 193.5 kB / 2.406 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/5.535, allocations: 309 kB / 2.407 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/5.535, allocations: 242 kB / 2.407 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/5.535, allocations: 0 / 2.407 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001276/5.537, allocations: 0.6759 MB / 2.408 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/5.537, allocations: 9.094 kB / 2.408 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/5.537, allocations: 3.938 kB / 2.408 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005855/5.537, allocations: 84.83 kB / 2.408 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/5.538, allocations: 131.9 kB / 2.408 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/5.54, allocations: 1.537 MB / 2.409 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/5.54, allocations: 79.41 kB / 2.409 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/5.54, allocations: 27.98 kB / 2.409 GB, free: 163.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0001514/5.54, allocations: 144.8 kB / 2.409 GB, free: 163 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.884e-05/5.541, allocations: 71.16 kB / 2.41 GB, free: 163 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/5.542, allocations: 0.9419 MB / 2.41 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/5.542, allocations: 11.98 kB / 2.41 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/5.542, allocations: 0 / 2.41 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/5.542, allocations: 3.984 kB / 2.41 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/5.545, allocations: 1.87 MB / 2.412 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/5.545, allocations: 0 / 2.412 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/5.546, allocations: 131.8 kB / 2.412 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000481/5.546, allocations: 88.77 kB / 2.413 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/5.546, allocations: 23.98 kB / 2.413 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/5.548, allocations: 1.552 MB / 2.414 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/5.548, allocations: 4.031 kB / 2.414 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/5.549, allocations: 0.8494 MB / 2.415 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/5.55, allocations: 283.7 kB / 2.415 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/5.55, allocations: 23.94 kB / 2.415 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000594/5.55, allocations: 67.94 kB / 2.415 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/5.55, allocations: 52.7 kB / 2.415 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/5.55, allocations: 31.98 kB / 2.415 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006332/5.551, allocations: 475.1 kB / 2.416 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.3e-07/5.551, allocations: 4 kB / 2.416 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001329/5.552, allocations: 347.2 kB / 2.416 GB, free: 156 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) * 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.004118/5.557, allocations: 2.323 MB / 2.418 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001547/5.558, allocations: 0.6706 MB / 2.419 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/5.558, allocations: 0 / 2.419 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007233/5.559, allocations: 463.1 kB / 2.419 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/5.56, allocations: 233.9 kB / 2.42 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/5.565, allocations: 1.532 MB / 2.421 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/5.566, allocations: 1.019 MB / 2.422 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009185/5.567, allocations: 254 kB / 2.422 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/5.567, allocations: 335.3 kB / 2.423 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.633e-06/5.567, allocations: 0 / 2.423 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06612/5.634, allocations: 30.68 MB / 2.453 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/5.634, allocations: 222.5 kB / 2.453 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.273/8.907, allocations: 3.938 kB / 2.453 GB, free: 118.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)