Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.009468/0.009468, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7755/0.7755, allocations: 135.2 MB / 151 MB, free: 13.82 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.459/1.459, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.00121/0.00121, allocations: 92.09 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003836, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5072/0.5076, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.551/5.059, allocations: 1.694 GB / 2.344 GB, free: 22.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/5.059, allocations: 99.89 kB / 2.344 GB, free: 22.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6665/5.726, allocations: 68.38 MB / 2.411 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.53e-06/5.726, allocations: 4 kB / 2.411 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001628/5.726, allocations: 27.94 kB / 2.411 GB, free: 232.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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.004361/5.73, allocations: 1.235 MB / 2.412 GB, free: 231 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.847e-05/5.73, allocations: 8.031 kB / 2.412 GB, free: 231 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005955/5.731, allocations: 143.6 kB / 2.412 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/5.733, allocations: 218.5 kB / 2.412 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/5.735, allocations: 0.6269 MB / 2.413 GB, free: 230 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-05/5.735, allocations: 69.95 kB / 2.413 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/5.735, allocations: 88 kB / 2.413 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/5.737, allocations: 0.9418 MB / 2.414 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/5.737, allocations: 3.938 kB / 2.414 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/5.737, allocations: 36 kB / 2.414 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/5.737, allocations: 24 kB / 2.414 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/5.739, allocations: 1.139 MB / 2.415 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004323/5.744, allocations: 2.597 MB / 2.418 GB, free: 225 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/5.745, allocations: 0.8286 MB / 2.419 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006394/5.746, allocations: 466.2 kB / 2.419 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007483/5.746, allocations: 451.1 kB / 2.419 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 5.04e-06/5.746, allocations: 0 / 2.419 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.002995/5.749, allocations: 1.125 MB / 2.421 GB, free: 222 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/5.749, allocations: 240 kB / 2.421 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008021/5.75, allocations: 0.5971 MB / 2.421 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.772e-05/5.75, allocations: 41.7 kB / 2.421 GB, free: 221 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/5.751, allocations: 404.1 kB / 2.422 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/5.751, allocations: 240.5 kB / 2.422 GB, free: 220.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/5.751, allocations: 8 kB / 2.422 GB, free: 220.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001162/5.751, allocations: 386.8 kB / 2.422 GB, free: 220 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/5.751, allocations: 225.2 kB / 2.423 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/5.752, allocations: 331.6 kB / 2.423 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/5.752, allocations: 271.1 kB / 2.423 GB, free: 219.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/5.752, allocations: 0 / 2.423 GB, free: 219.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00168/5.754, allocations: 0.7393 MB / 2.424 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/5.754, allocations: 4 kB / 2.424 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/5.754, allocations: 4 kB / 2.424 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006171/5.755, allocations: 84.8 kB / 2.424 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/5.755, allocations: 139.8 kB / 2.424 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/5.757, allocations: 1.537 MB / 2.426 GB, free: 216.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006373/5.758, allocations: 83.48 kB / 2.426 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/5.758, allocations: 31.98 kB / 2.426 GB, free: 216.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.000402/5.758, allocations: 255.5 kB / 2.426 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/5.758, allocations: 83.05 kB / 2.426 GB, free: 216 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/5.76, allocations: 1.014 MB / 2.427 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/5.761, allocations: 12.17 kB / 2.427 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/5.761, allocations: 0 / 2.427 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/5.761, allocations: 11.91 kB / 2.427 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/5.763, allocations: 1.946 MB / 2.429 GB, free: 213 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/5.763, allocations: 3.938 kB / 2.429 GB, free: 213 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/5.764, allocations: 143.9 kB / 2.429 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005183/5.765, allocations: 88.7 kB / 2.429 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/5.765, allocations: 23.98 kB / 2.429 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/5.766, allocations: 1.563 MB / 2.431 GB, free: 211 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/5.766, allocations: 0 / 2.431 GB, free: 211 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/5.768, allocations: 0.9218 MB / 2.432 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/5.768, allocations: 295.7 kB / 2.432 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.572e-05/5.768, allocations: 16 kB / 2.432 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006137/5.769, allocations: 67.94 kB / 2.432 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/5.769, allocations: 56.92 kB / 2.432 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.867e-05/5.769, allocations: 31.98 kB / 2.432 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005441/5.77, allocations: 495 kB / 2.433 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/5.77, allocations: 0 / 2.433 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00124/5.771, allocations: 387 kB / 2.433 GB, free: 208.7 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 (84): * Single equations (assignments): 81 * 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.003777/5.775, allocations: 2.464 MB / 2.435 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001425/5.776, allocations: 0.7395 MB / 2.436 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/5.776, allocations: 0 / 2.436 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008102/5.777, allocations: 0.5002 MB / 2.437 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/5.778, allocations: 228.4 kB / 2.437 GB, free: 205 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008215/5.786, allocations: 5.181 MB / 2.442 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/5.787, allocations: 1.039 MB / 2.443 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008941/5.788, allocations: 266.2 kB / 2.443 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/5.788, allocations: 375.3 kB / 2.443 GB, free: 198 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/5.788, allocations: 0 / 2.443 GB, free: 198 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05095/5.839, allocations: 29.71 MB / 2.473 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/5.839, allocations: 285 kB / 2.473 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.41/9.25, allocations: 0 / 2.473 GB, free: 168.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)