Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_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.002095/0.002096, allocations: 174.5 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.7545/0.7545, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.705/1.705, allocations: 221.3 MB / 400.4 MB, free: 5.793 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.00091/0.0009099, allocations: 91.19 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.921e-05/3.923e-05, allocations: 2.344 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.117/5.328, allocations: 1.695 GB / 2.336 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/5.328, allocations: 87.95 kB / 2.336 GB, free: 239.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2007/5.529, allocations: 94.36 MB / 2.428 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.235e-06/5.529, allocations: 4 kB / 2.428 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.83e-05/5.529, allocations: 36 kB / 2.428 GB, free: 144.5 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.002361/5.531, allocations: 1.399 MB / 2.429 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/5.532, allocations: 8.031 kB / 2.429 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001939/5.532, allocations: 211.1 kB / 2.43 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009003/5.533, allocations: 245.8 kB / 2.43 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/5.534, allocations: 0.7716 MB / 2.431 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.298e-05/5.534, allocations: 106.9 kB / 2.431 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/5.534, allocations: 140 kB / 2.431 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/5.536, allocations: 1.374 MB / 2.432 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/5.536, allocations: 0 / 2.432 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/5.536, allocations: 64 kB / 2.432 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/5.536, allocations: 39.89 kB / 2.432 GB, free: 140 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/5.538, allocations: 1.455 MB / 2.434 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005461/5.543, allocations: 3.822 MB / 2.437 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/5.545, allocations: 0.9112 MB / 2.438 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/5.545, allocations: 379.8 kB / 2.439 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/5.545, allocations: 49.02 kB / 2.439 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007974/5.546, allocations: 0.5554 MB / 2.439 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 3.947e-06/5.546, allocations: 0 / 2.439 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104): time 0.002015/5.548, allocations: 0.9579 MB / 2.44 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.936e-05/5.548, allocations: 252.3 kB / 2.44 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008709/5.549, allocations: 0.731 MB / 2.441 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.427e-05/5.549, allocations: 41.7 kB / 2.441 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/5.55, allocations: 0.5582 MB / 2.442 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/5.55, allocations: 350.9 kB / 2.442 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/5.55, allocations: 20 kB / 2.442 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.617e-05/5.55, allocations: 341.9 kB / 2.442 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/5.55, allocations: 313.9 kB / 2.443 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/5.551, allocations: 443.5 kB / 2.443 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/5.552, allocations: 392.8 kB / 2.443 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/5.552, allocations: 0 / 2.443 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001833/5.553, allocations: 1.013 MB / 2.444 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/5.553, allocations: 8 kB / 2.444 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/5.553, allocations: 0 / 2.444 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005696/5.554, allocations: 88.83 kB / 2.445 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008622/5.555, allocations: 211.7 kB / 2.445 GB, free: 127 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/5.557, allocations: 1.529 MB / 2.446 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008885/5.558, allocations: 115 kB / 2.446 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/5.558, allocations: 43.97 kB / 2.446 GB, free: 125.1 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.000215/5.558, allocations: 158 kB / 2.447 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/5.558, allocations: 110.7 kB / 2.447 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/5.561, allocations: 1.368 MB / 2.448 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/5.561, allocations: 12 kB / 2.448 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/5.561, allocations: 3.953 kB / 2.448 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/5.561, allocations: 7.969 kB / 2.448 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/5.564, allocations: 2.574 MB / 2.45 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/5.564, allocations: 0 / 2.45 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007271/5.565, allocations: 195.7 kB / 2.451 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004792/5.566, allocations: 84.78 kB / 2.451 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/5.566, allocations: 27.97 kB / 2.451 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/5.567, allocations: 1.552 MB / 2.452 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/5.567, allocations: 0 / 2.452 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/5.569, allocations: 1.132 MB / 2.453 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/5.57, allocations: 367.2 kB / 2.454 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/5.57, allocations: 27.89 kB / 2.454 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006847/5.57, allocations: 72 kB / 2.454 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/5.571, allocations: 80.89 kB / 2.454 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-05/5.571, allocations: 43.97 kB / 2.454 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007351/5.571, allocations: 0.6084 MB / 2.455 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/5.571, allocations: 0 / 2.455 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00134/5.573, allocations: 474.6 kB / 2.455 GB, free: 116 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.003723/5.576, allocations: 2.605 MB / 2.458 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001579/5.578, allocations: 0.9524 MB / 2.459 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/5.578, allocations: 4 kB / 2.459 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007926/5.579, allocations: 0.59 MB / 2.459 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/5.58, allocations: 249.1 kB / 2.459 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/5.585, allocations: 2.118 MB / 2.461 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/5.585, allocations: 1.189 MB / 2.463 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009449/5.586, allocations: 308.2 kB / 2.463 GB, free: 108 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006355/5.587, allocations: 0.5344 MB / 2.463 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of SimCode: time 8.42e-07/5.587, allocations: 0 / 2.463 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06166/5.649, allocations: 37.3 MB / 2.5 GB, free: 70.37 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/5.649, allocations: 229.7 kB / 2.5 GB, free: 70.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.459/9.108, allocations: 0 / 2.5 GB, free: 70.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)