Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_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.006268/0.006267, 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.7283/0.7283, allocations: 135.2 MB / 151 MB, free: 13.84 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.408/1.408, allocations: 223.2 MB / 406.8 MB, free: 3.215 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.0009376/0.0009376, allocations: 90.3 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3629, allocations: 82.29 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.253/4.616, allocations: 1.694 GB / 2.343 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/4.616, allocations: 92.03 kB / 2.343 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1395/4.756, allocations: 63.76 MB / 2.405 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.016e-06/4.756, allocations: 0 / 2.405 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.564e-05/4.756, allocations: 19.25 kB / 2.405 GB, free: 173.8 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.002332/4.758, allocations: 1.163 MB / 2.407 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/4.758, allocations: 9.656 kB / 2.407 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00017/4.758, allocations: 129.6 kB / 2.407 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/4.759, allocations: 188.2 kB / 2.407 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/4.761, allocations: 0.6168 MB / 2.407 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/4.761, allocations: 57.16 kB / 2.407 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.7e-05/4.761, allocations: 76.28 kB / 2.408 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/4.762, allocations: 0.8524 MB / 2.408 GB, free: 172 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/4.762, allocations: 0 / 2.408 GB, free: 172 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.957e-05/4.762, allocations: 32.69 kB / 2.408 GB, free: 172 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/4.762, allocations: 27.48 kB / 2.408 GB, free: 172 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/4.763, allocations: 1.069 MB / 2.41 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003298/4.767, allocations: 2.427 MB / 2.412 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/4.768, allocations: 0.8064 MB / 2.413 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.566e-05/4.768, allocations: 31.34 kB / 2.413 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006438/4.769, allocations: 421 kB / 2.413 GB, free: 170 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.174e-06/4.769, allocations: 0 / 2.413 GB, free: 170 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.002751/4.771, allocations: 1.084 MB / 2.414 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/4.772, allocations: 247.3 kB / 2.414 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007211/4.772, allocations: 0.5874 MB / 2.415 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/4.772, allocations: 36.67 kB / 2.415 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/4.773, allocations: 367.1 kB / 2.415 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/4.773, allocations: 233.6 kB / 2.416 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/4.773, allocations: 10.31 kB / 2.416 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000105/4.773, allocations: 382.8 kB / 2.416 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/4.773, allocations: 218 kB / 2.416 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/4.774, allocations: 324.9 kB / 2.416 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/4.774, allocations: 262.7 kB / 2.417 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/4.774, allocations: 0 / 2.417 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001607/4.776, allocations: 0.7205 MB / 2.417 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/4.776, allocations: 3.906 kB / 2.417 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/4.776, allocations: 0 / 2.417 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/4.776, allocations: 82.66 kB / 2.417 GB, free: 168 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/4.777, allocations: 141.2 kB / 2.418 GB, free: 168 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/4.779, allocations: 1.544 MB / 2.419 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007556/4.78, allocations: 77.84 kB / 2.419 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-05/4.78, allocations: 27.22 kB / 2.419 GB, free: 166.6 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 (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.0006304/4.78, allocations: 247.2 kB / 2.419 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/4.781, allocations: 81.36 kB / 2.42 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/4.783, allocations: 0.9821 MB / 2.421 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/4.783, allocations: 11.91 kB / 2.421 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/4.783, allocations: 3.938 kB / 2.421 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/4.783, allocations: 8.016 kB / 2.421 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/4.786, allocations: 1.908 MB / 2.422 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/4.786, allocations: 3.953 kB / 2.422 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/4.786, allocations: 140.5 kB / 2.423 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/4.787, allocations: 82 kB / 2.423 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/4.787, allocations: 24.27 kB / 2.423 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/4.789, allocations: 1.57 MB / 2.424 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/4.789, allocations: 4.062 kB / 2.424 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/4.79, allocations: 0.901 MB / 2.425 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/4.791, allocations: 281.8 kB / 2.425 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/4.791, allocations: 15.19 kB / 2.425 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005852/4.792, allocations: 74.69 kB / 2.425 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/4.792, allocations: 53.48 kB / 2.425 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-05/4.792, allocations: 34.72 kB / 2.425 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006173/4.792, allocations: 477.6 kB / 2.426 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/4.792, allocations: 0 / 2.426 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001272/4.794, allocations: 353.6 kB / 2.426 GB, free: 163.1 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 (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.003856/4.798, allocations: 2.403 MB / 2.429 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001486/4.799, allocations: 0.7168 MB / 2.429 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/4.799, allocations: 7.969 kB / 2.429 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008005/4.8, allocations: 484.4 kB / 2.43 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/4.801, allocations: 246 kB / 2.43 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008756/4.81, allocations: 4.961 MB / 2.435 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/4.81, allocations: 1.01 MB / 2.436 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009022/4.811, allocations: 251.4 kB / 2.436 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/4.812, allocations: 339.4 kB / 2.436 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.373e-06/4.812, allocations: 0 / 2.436 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05104/4.863, allocations: 29.01 MB / 2.465 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/4.863, allocations: 260.1 kB / 2.465 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/7.98, allocations: 0 / 2.465 GB, free: 129.2 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)