Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.001975/0.001975, allocations: 174.1 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7536/0.7536, 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.649/1.649, 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.0009945/0.0009947, allocations: 91.41 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.825e-05, allocations: 2.25 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1688, allocations: 82.31 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.18/5.349, allocations: 1.695 GB / 2.335 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/5.35, allocations: 97.78 kB / 2.335 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1267/5.476, allocations: 59.73 MB / 2.394 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.334e-06/5.476, allocations: 3.938 kB / 2.394 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.958e-05/5.476, allocations: 24 kB / 2.394 GB, free: 147.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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001682/5.478, allocations: 1.082 MB / 2.395 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/5.478, allocations: 8.031 kB / 2.395 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/5.478, allocations: 128.6 kB / 2.395 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008319/5.479, allocations: 190.2 kB / 2.395 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008536/5.48, allocations: 0.6158 MB / 2.396 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/5.48, allocations: 65.81 kB / 2.396 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.18e-05/5.48, allocations: 76.94 kB / 2.396 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/5.481, allocations: 0.8515 MB / 2.397 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/5.481, allocations: 3.938 kB / 2.397 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/5.481, allocations: 33.44 kB / 2.397 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/5.481, allocations: 23.95 kB / 2.397 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/5.483, allocations: 1.06 MB / 2.398 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/5.486, allocations: 2.525 MB / 2.4 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/5.487, allocations: 0.7121 MB / 2.401 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/5.487, allocations: 270.8 kB / 2.401 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.66e-05/5.488, allocations: 36.73 kB / 2.401 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000555/5.488, allocations: 429.3 kB / 2.402 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 3.677e-06/5.488, allocations: 0 / 2.402 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.00148/5.49, allocations: 0.7148 MB / 2.402 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/5.49, allocations: 240.1 kB / 2.403 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006118/5.49, allocations: 0.5894 MB / 2.403 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/5.49, allocations: 41.7 kB / 2.403 GB, free: 139 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/5.491, allocations: 376.3 kB / 2.403 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/5.491, allocations: 252.3 kB / 2.404 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/5.491, allocations: 16 kB / 2.404 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001335/5.491, allocations: 382.8 kB / 2.404 GB, free: 138 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/5.491, allocations: 209.5 kB / 2.404 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/5.492, allocations: 325 kB / 2.405 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/5.492, allocations: 262 kB / 2.405 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/5.492, allocations: 0 / 2.405 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001346/5.493, allocations: 0.7227 MB / 2.406 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/5.493, allocations: 8.938 kB / 2.406 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/5.493, allocations: 3.938 kB / 2.406 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/5.494, allocations: 80.84 kB / 2.406 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/5.494, allocations: 147.8 kB / 2.406 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/5.496, allocations: 1.517 MB / 2.407 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/5.497, allocations: 83.38 kB / 2.407 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/5.497, allocations: 27.97 kB / 2.407 GB, free: 134.4 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 (80): * Single equations (assignments): 79 * 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.0001532/5.497, allocations: 149.1 kB / 2.408 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/5.497, allocations: 86.95 kB / 2.408 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/5.499, allocations: 0.9974 MB / 2.409 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/5.499, allocations: 12 kB / 2.409 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/5.499, allocations: 3.953 kB / 2.409 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/5.499, allocations: 3.984 kB / 2.409 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/5.502, allocations: 1.881 MB / 2.41 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/5.502, allocations: 0 / 2.41 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/5.502, allocations: 147.8 kB / 2.411 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/5.503, allocations: 84.77 kB / 2.411 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/5.503, allocations: 23.98 kB / 2.411 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/5.504, allocations: 1.559 MB / 2.412 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/5.504, allocations: 3.938 kB / 2.412 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/5.506, allocations: 0.8845 MB / 2.413 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/5.506, allocations: 287.7 kB / 2.413 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.761e-05/5.506, allocations: 20 kB / 2.413 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/5.507, allocations: 63.95 kB / 2.413 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/5.507, allocations: 64.58 kB / 2.413 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/5.507, allocations: 35.98 kB / 2.414 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005647/5.508, allocations: 487.1 kB / 2.414 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/5.508, allocations: 0 / 2.414 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001136/5.509, allocations: 359.2 kB / 2.414 GB, free: 127.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.003294/5.512, allocations: 2.363 MB / 2.417 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001198/5.513, allocations: 0.7058 MB / 2.417 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/5.513, allocations: 0 / 2.417 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006219/5.514, allocations: 482.8 kB / 2.418 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/5.515, allocations: 234.1 kB / 2.418 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/5.519, allocations: 1.572 MB / 2.42 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/5.519, allocations: 1.036 MB / 2.421 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007886/5.52, allocations: 258.5 kB / 2.421 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/5.52, allocations: 363.2 kB / 2.421 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/5.52, allocations: 0 / 2.421 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05117/5.571, allocations: 31.34 MB / 2.452 GB, free: 88.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/5.572, allocations: 242.9 kB / 2.452 GB, free: 88.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.245/8.817, allocations: 0 / 2.452 GB, free: 88.64 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)