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.009197/0.009197, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7949/0.7949, 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.613/1.613, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.0009607/0.000961, allocations: 92.72 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4405, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.189/4.629, allocations: 1.694 GB / 2.343 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/4.63, allocations: 96.19 kB / 2.343 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1278/4.758, allocations: 59.54 MB / 2.401 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.084e-06/4.758, allocations: 0 / 2.401 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.021e-05/4.758, allocations: 19.53 kB / 2.401 GB, free: 175.6 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.001963/4.76, allocations: 1.182 MB / 2.403 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/4.76, allocations: 11.72 kB / 2.403 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/4.76, allocations: 133 kB / 2.403 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008424/4.761, allocations: 188.3 kB / 2.403 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009029/4.762, allocations: 0.6097 MB / 2.403 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.224e-05/4.762, allocations: 61.53 kB / 2.404 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/4.762, allocations: 75.78 kB / 2.404 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/4.763, allocations: 0.8632 MB / 2.404 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/4.763, allocations: 3.938 kB / 2.404 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.042e-05/4.763, allocations: 33.12 kB / 2.404 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/4.763, allocations: 23.48 kB / 2.404 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/4.765, allocations: 1.075 MB / 2.406 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/4.768, allocations: 2.394 MB / 2.408 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/4.769, allocations: 0.8083 MB / 2.409 GB, free: 172 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-05/4.769, allocations: 39.61 kB / 2.409 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006048/4.77, allocations: 425.8 kB / 2.409 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 2.495e-06/4.77, allocations: 0 / 2.409 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.002561/4.772, allocations: 1.093 MB / 2.41 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/4.772, allocations: 247.7 kB / 2.41 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006399/4.773, allocations: 0.5815 MB / 2.411 GB, free: 171 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/4.773, allocations: 40.77 kB / 2.411 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/4.773, allocations: 372.4 kB / 2.411 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/4.773, allocations: 240.6 kB / 2.412 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/4.773, allocations: 11.62 kB / 2.412 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/4.773, allocations: 384.2 kB / 2.412 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/4.774, allocations: 213 kB / 2.412 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/4.774, allocations: 332.5 kB / 2.413 GB, free: 170 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/4.775, allocations: 255.1 kB / 2.413 GB, free: 170 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/4.775, allocations: 4 kB / 2.413 GB, free: 170 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001454/4.776, allocations: 0.7192 MB / 2.413 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/4.776, allocations: 11.69 kB / 2.413 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/4.776, allocations: 0 / 2.413 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/4.777, allocations: 83.38 kB / 2.414 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/4.777, allocations: 137.3 kB / 2.414 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/4.779, allocations: 1.54 MB / 2.415 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/4.78, allocations: 81.98 kB / 2.415 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/4.78, allocations: 23.36 kB / 2.415 GB, free: 168.3 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 () * Number of clocked 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.0003294/4.78, allocations: 258 kB / 2.416 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.932e-05/4.78, allocations: 82.2 kB / 2.416 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/4.782, allocations: 1.003 MB / 2.417 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/4.782, allocations: 7.812 kB / 2.417 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/4.782, allocations: 7.891 kB / 2.417 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/4.782, allocations: 3.984 kB / 2.417 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/4.785, allocations: 1.913 MB / 2.418 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/4.785, allocations: 0 / 2.418 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/4.786, allocations: 148.7 kB / 2.419 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/4.786, allocations: 83.17 kB / 2.419 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/4.786, allocations: 22.55 kB / 2.419 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/4.788, allocations: 1.556 MB / 2.42 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/4.788, allocations: 4 kB / 2.42 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/4.789, allocations: 0.9211 MB / 2.421 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004112/4.79, allocations: 284.4 kB / 2.421 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/4.79, allocations: 16.25 kB / 2.421 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005731/4.79, allocations: 71.12 kB / 2.421 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/4.791, allocations: 62.97 kB / 2.422 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/4.791, allocations: 31.67 kB / 2.422 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006446/4.791, allocations: 484 kB / 2.422 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.02e-07/4.791, allocations: 0 / 2.422 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001227/4.793, allocations: 360.3 kB / 2.422 GB, free: 164.8 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 (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.003624/4.796, allocations: 2.435 MB / 2.425 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001321/4.798, allocations: 0.7225 MB / 2.425 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/4.798, allocations: 0 / 2.425 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007389/4.798, allocations: 499.2 kB / 2.426 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009753/4.799, allocations: 241.9 kB / 2.426 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00773/4.807, allocations: 4.998 MB / 2.431 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/4.807, allocations: 1.021 MB / 2.432 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008032/4.808, allocations: 263.8 kB / 2.432 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/4.809, allocations: 348.7 kB / 2.433 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of SimCode: time 6.11e-07/4.809, allocations: 0 / 2.433 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04534/4.854, allocations: 29.15 MB / 2.461 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/4.854, allocations: 269.4 kB / 2.461 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.252/8.106, allocations: 0 / 2.461 GB, free: 132.9 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)