Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.00199/0.00199, allocations: 175 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 1.287/1.287, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.919/2.919, allocations: 221.3 MB / 400.4 MB, free: 5.875 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.001807/0.001807, allocations: 104.2 kB / 483.3 MB, free: 5.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001124/0.0001129, allocations: 5.688 kB / 0.5601 GB, free: 87.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3424, allocations: 82.29 MB / 0.6405 GB, free: 7.77 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.57/10.91, allocations: 1.695 GB / 2.336 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004596/10.91, allocations: 85.98 kB / 2.336 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3736/11.28, allocations: 94.37 MB / 2.428 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 8.086e-06/11.28, allocations: 0 / 2.428 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000299/11.28, allocations: 32 kB / 2.428 GB, free: 114.3 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.00732/11.29, allocations: 1.401 MB / 2.429 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.668e-05/11.29, allocations: 12.03 kB / 2.429 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007/11.29, allocations: 203.1 kB / 2.43 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/11.29, allocations: 257.8 kB / 2.43 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/11.3, allocations: 0.7754 MB / 2.431 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/11.3, allocations: 102.9 kB / 2.431 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/11.3, allocations: 140 kB / 2.431 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004186/11.3, allocations: 1.374 MB / 2.432 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/11.3, allocations: 0 / 2.432 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000223/11.3, allocations: 60 kB / 2.432 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-05/11.3, allocations: 43.89 kB / 2.432 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004137/11.3, allocations: 1.455 MB / 2.434 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/11.32, allocations: 3.818 MB / 2.437 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/11.32, allocations: 0.9151 MB / 2.438 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009654/11.32, allocations: 371.8 kB / 2.439 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/11.32, allocations: 53.02 kB / 2.439 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001527/11.32, allocations: 0.5554 MB / 2.439 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 6.382e-06/11.32, allocations: 0 / 2.439 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104): time 0.004058/11.33, allocations: 0.9618 MB / 2.44 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/11.33, allocations: 252.3 kB / 2.44 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/11.33, allocations: 0.731 MB / 2.441 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002825/11.33, allocations: 45.7 kB / 2.441 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007565/11.33, allocations: 0.5543 MB / 2.442 GB, free: 99.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005388/11.33, allocations: 346.9 kB / 2.442 GB, free: 99.58 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-05/11.33, allocations: 20 kB / 2.442 GB, free: 99.56 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001661/11.33, allocations: 341.9 kB / 2.442 GB, free: 99.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/11.33, allocations: 313.9 kB / 2.443 GB, free: 98.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/11.33, allocations: 443.5 kB / 2.443 GB, free: 98.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/11.33, allocations: 392.8 kB / 2.443 GB, free: 98.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/11.33, allocations: 0 / 2.443 GB, free: 98.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004399/11.34, allocations: 1.017 MB / 2.444 GB, free: 97.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.916e-05/11.34, allocations: 4 kB / 2.444 GB, free: 97.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/11.34, allocations: 0 / 2.444 GB, free: 97.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/11.34, allocations: 88.83 kB / 2.445 GB, free: 96.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/11.34, allocations: 211.7 kB / 2.445 GB, free: 96.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/11.35, allocations: 1.529 MB / 2.446 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/11.35, allocations: 123 kB / 2.446 GB, free: 94.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/11.35, allocations: 39.97 kB / 2.446 GB, free: 94.91 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 (116): * Single equations (assignments): 115 * 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.0006152/11.35, allocations: 157.9 kB / 2.447 GB, free: 94.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006431/11.35, allocations: 102.7 kB / 2.447 GB, free: 94.65 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006293/11.36, allocations: 1.372 MB / 2.448 GB, free: 93.26 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/11.36, allocations: 12 kB / 2.448 GB, free: 93.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/11.36, allocations: 3.953 kB / 2.448 GB, free: 93.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/11.36, allocations: 7.969 kB / 2.448 GB, free: 93.24 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009698/11.37, allocations: 2.578 MB / 2.451 GB, free: 90.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/11.37, allocations: 0 / 2.451 GB, free: 90.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/11.37, allocations: 195.7 kB / 2.451 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009844/11.37, allocations: 84.78 kB / 2.451 GB, free: 90.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/11.37, allocations: 31.97 kB / 2.451 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002818/11.37, allocations: 1.556 MB / 2.452 GB, free: 88.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/11.37, allocations: 0 / 2.452 GB, free: 88.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/11.38, allocations: 1.128 MB / 2.453 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/11.38, allocations: 367.2 kB / 2.454 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005756/11.38, allocations: 23.95 kB / 2.454 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/11.38, allocations: 71.94 kB / 2.454 GB, free: 86.97 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003274/11.38, allocations: 76.89 kB / 2.454 GB, free: 86.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/11.38, allocations: 39.97 kB / 2.454 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002068/11.38, allocations: 0.6202 MB / 2.455 GB, free: 86.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/11.38, allocations: 0 / 2.455 GB, free: 86.24 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003249/11.39, allocations: 474.6 kB / 2.455 GB, free: 85.78 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 (115): * Single equations (assignments): 112 * 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.009019/11.39, allocations: 2.595 MB / 2.458 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003359/11.4, allocations: 0.9524 MB / 2.458 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/11.4, allocations: 0 / 2.458 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/11.4, allocations: 0.5978 MB / 2.459 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/11.4, allocations: 253.1 kB / 2.459 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/11.41, allocations: 2.12 MB / 2.461 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/11.42, allocations: 1.193 MB / 2.463 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002395/11.42, allocations: 300.3 kB / 2.463 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/11.42, allocations: 0.5382 MB / 2.463 GB, free: 77.24 MB / 0.6823 GB Notification: Performance of SimCode: time 1.944e-06/11.42, allocations: 0 / 2.463 GB, free: 77.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1534/11.57, allocations: 37.28 MB / 2.5 GB, free: 40.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003906/11.57, allocations: 238 kB / 2.5 GB, free: 39.85 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.491/18.07, allocations: 0 / 2.5 GB, free: 39.85 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)