Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.001359/0.001359, allocations: 174.7 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.7404/0.7404, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.787/1.787, allocations: 221.3 MB / 400.4 MB, free: 5.805 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.0009086/0.0009085, allocations: 83.95 kB / 483.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.339e-05/4.36e-05, allocations: 2.969 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1702, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.24/5.41, allocations: 1.694 GB / 2.334 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/5.411, allocations: 90.83 kB / 2.334 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1352/5.546, allocations: 59.23 MB / 2.392 GB, free: 149 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/5.546, allocations: 0 / 2.392 GB, free: 149 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001125/5.546, allocations: 23.94 kB / 2.392 GB, free: 148.9 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002762/5.549, allocations: 1.07 MB / 2.393 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/5.549, allocations: 12.03 kB / 2.393 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003457/5.549, allocations: 126.4 kB / 2.393 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/5.551, allocations: 194.5 kB / 2.393 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/5.552, allocations: 0.6036 MB / 2.394 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/5.552, allocations: 58 kB / 2.394 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/5.552, allocations: 77.12 kB / 2.394 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/5.554, allocations: 0.8308 MB / 2.395 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/5.554, allocations: 3.938 kB / 2.395 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/5.554, allocations: 37.81 kB / 2.395 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/5.554, allocations: 19.95 kB / 2.395 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/5.556, allocations: 1.031 MB / 2.396 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004046/5.56, allocations: 2.401 MB / 2.398 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/5.561, allocations: 0.7581 MB / 2.399 GB, free: 143 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/5.561, allocations: 263.9 kB / 2.399 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.68e-05/5.561, allocations: 34.83 kB / 2.399 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006462/5.562, allocations: 408.3 kB / 2.4 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 3.356e-06/5.562, allocations: 0 / 2.4 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.001563/5.564, allocations: 0.687 MB / 2.4 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/5.564, allocations: 240.1 kB / 2.401 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006688/5.564, allocations: 0.5776 MB / 2.401 GB, free: 141 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.273e-05/5.565, allocations: 45.64 kB / 2.401 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/5.565, allocations: 376.3 kB / 2.402 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/5.565, allocations: 240.6 kB / 2.402 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/5.565, allocations: 12 kB / 2.402 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000104/5.565, allocations: 374.8 kB / 2.402 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/5.565, allocations: 197.5 kB / 2.402 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/5.566, allocations: 309 kB / 2.403 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/5.566, allocations: 238 kB / 2.403 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/5.566, allocations: 4 kB / 2.403 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001285/5.567, allocations: 0.6875 MB / 2.404 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/5.567, allocations: 4 kB / 2.404 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/5.567, allocations: 0 / 2.404 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005612/5.568, allocations: 84.83 kB / 2.404 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/5.569, allocations: 135.8 kB / 2.404 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/5.57, allocations: 1.513 MB / 2.405 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/5.571, allocations: 75.44 kB / 2.405 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/5.571, allocations: 32.05 kB / 2.405 GB, free: 136.5 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 (74): * Single equations (assignments): 73 * 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.0001734/5.571, allocations: 141 kB / 2.406 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/5.571, allocations: 87.05 kB / 2.406 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/5.573, allocations: 0.9769 MB / 2.407 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/5.573, allocations: 8 kB / 2.407 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/5.573, allocations: 0 / 2.407 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/5.573, allocations: 3.984 kB / 2.407 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/5.576, allocations: 1.87 MB / 2.408 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/5.576, allocations: 0 / 2.408 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/5.576, allocations: 147.8 kB / 2.409 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004629/5.577, allocations: 80.78 kB / 2.409 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/5.577, allocations: 23.98 kB / 2.409 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/5.578, allocations: 1.552 MB / 2.41 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/5.578, allocations: 0 / 2.41 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/5.58, allocations: 0.8728 MB / 2.411 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/5.58, allocations: 275.8 kB / 2.411 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.743e-05/5.58, allocations: 19.94 kB / 2.411 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/5.581, allocations: 75.88 kB / 2.411 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/5.581, allocations: 56.7 kB / 2.411 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/5.581, allocations: 31.97 kB / 2.411 GB, free: 130 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006145/5.581, allocations: 483.1 kB / 2.412 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/5.581, allocations: 0 / 2.412 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001399/5.583, allocations: 355.1 kB / 2.412 GB, free: 129.2 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 (86): * Single equations (assignments): 83 * 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.003566/5.586, allocations: 2.333 MB / 2.415 GB, free: 127 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001206/5.588, allocations: 0.6824 MB / 2.415 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/5.588, allocations: 0 / 2.415 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000626/5.588, allocations: 474.9 kB / 2.416 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/5.589, allocations: 246 kB / 2.416 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/5.593, allocations: 1.552 MB / 2.417 GB, free: 124 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/5.593, allocations: 1.023 MB / 2.418 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007662/5.594, allocations: 246.1 kB / 2.419 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/5.595, allocations: 355.3 kB / 2.419 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/5.595, allocations: 0 / 2.419 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05478/5.649, allocations: 30.84 MB / 2.449 GB, free: 91.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/5.65, allocations: 231.7 kB / 2.449 GB, free: 91.42 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.177/8.827, allocations: 12 kB / 2.449 GB, free: 91.41 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)