Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.891/0.891, allocations: 143.3 MB / 158.3 MB, free: 5.777 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 179 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.1 MB / 447.7 MB, free: 4.836 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.0009807/0.0009807, allocations: 84.33 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002688/0.002688, allocations: 274.9 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004226, allocations: 16.48 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1595, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.368/3.528, allocations: 1.692 GB / 2.466 GB, free: 61.56 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/3.528, allocations: 98.81 kB / 2.466 GB, free: 61.51 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1422/3.67, allocations: 68.37 MB / 2.532 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.675e-06/3.67, allocations: 4 kB / 2.532 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.888e-05/3.67, allocations: 27.94 kB / 2.532 GB, free: 2.828 MB / 0.7136 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.001943/3.672, allocations: 1.239 MB / 2.534 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/3.672, allocations: 8.031 kB / 2.534 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/3.673, allocations: 147.5 kB / 2.534 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009757/3.674, allocations: 217 kB / 2.534 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009038/3.675, allocations: 0.6297 MB / 2.535 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.84e-05/3.675, allocations: 63.94 kB / 2.535 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.711e-05/3.675, allocations: 83.62 kB / 2.535 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3617/4.036, allocations: 0.9556 MB / 2.536 GB, free: 233.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/4.036, allocations: 0.6875 kB / 2.536 GB, free: 233.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/4.037, allocations: 39.03 kB / 2.536 GB, free: 233.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/4.037, allocations: 21.69 kB / 2.536 GB, free: 233.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/4.039, allocations: 1.136 MB / 2.537 GB, free: 233.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003647/4.042, allocations: 2.597 MB / 2.539 GB, free: 233.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/4.044, allocations: 0.8283 MB / 2.54 GB, free: 233.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005754/4.044, allocations: 473.1 kB / 2.541 GB, free: 232.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008034/4.045, allocations: 444.8 kB / 2.541 GB, free: 232.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 3.006e-06/4.045, allocations: 0 / 2.541 GB, free: 232.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.003127/4.048, allocations: 1.125 MB / 2.542 GB, free: 232.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/4.048, allocations: 245.5 kB / 2.542 GB, free: 232 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008343/4.049, allocations: 0.5982 MB / 2.543 GB, free: 231.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.783e-05/4.049, allocations: 39.73 kB / 2.543 GB, free: 231.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/4.05, allocations: 400.6 kB / 2.543 GB, free: 231.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/4.05, allocations: 240.9 kB / 2.544 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/4.05, allocations: 10.75 kB / 2.544 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001322/4.05, allocations: 384.2 kB / 2.544 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/4.05, allocations: 222.3 kB / 2.544 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/4.051, allocations: 334.4 kB / 2.545 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005528/4.052, allocations: 275.7 kB / 2.545 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/4.052, allocations: 1.203 kB / 2.545 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001803/4.053, allocations: 0.7378 MB / 2.546 GB, free: 231.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/4.053, allocations: 5.906 kB / 2.546 GB, free: 231.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/4.053, allocations: 0 / 2.546 GB, free: 231.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/4.054, allocations: 90.97 kB / 2.546 GB, free: 231.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006309/4.055, allocations: 138.6 kB / 2.546 GB, free: 231.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/4.057, allocations: 1.535 MB / 2.547 GB, free: 229.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006247/4.057, allocations: 86.48 kB / 2.547 GB, free: 229.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/4.057, allocations: 24.78 kB / 2.547 GB, free: 229.8 MB / 0.7136 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.0004433/4.058, allocations: 261.9 kB / 2.548 GB, free: 229.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/4.058, allocations: 78.14 kB / 2.548 GB, free: 229.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/4.06, allocations: 1.027 MB / 2.549 GB, free: 229.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/4.06, allocations: 8.562 kB / 2.549 GB, free: 229.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/4.06, allocations: 2.656 kB / 2.549 GB, free: 229.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/4.06, allocations: 4.031 kB / 2.549 GB, free: 229.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003239/4.063, allocations: 1.949 MB / 2.551 GB, free: 229.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/4.063, allocations: 0.6094 kB / 2.551 GB, free: 229.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000664/4.064, allocations: 144.6 kB / 2.551 GB, free: 229.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005711/4.065, allocations: 84.41 kB / 2.551 GB, free: 229.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/4.065, allocations: 26.47 kB / 2.551 GB, free: 229.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/4.066, allocations: 1.55 MB / 2.552 GB, free: 227.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/4.066, allocations: 0.6094 kB / 2.552 GB, free: 227.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/4.069, allocations: 0.9345 MB / 2.553 GB, free: 227.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/4.069, allocations: 291 kB / 2.554 GB, free: 227.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/4.069, allocations: 17.16 kB / 2.554 GB, free: 227.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/4.07, allocations: 69.2 kB / 2.554 GB, free: 227.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/4.07, allocations: 55.5 kB / 2.554 GB, free: 227.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/4.07, allocations: 36.23 kB / 2.554 GB, free: 227.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007516/4.071, allocations: 491.8 kB / 2.554 GB, free: 227.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/4.071, allocations: 0 / 2.554 GB, free: 227.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001233/4.072, allocations: 393.4 kB / 2.555 GB, free: 227.4 MB / 0.7136 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.003962/4.076, allocations: 2.46 MB / 2.557 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001661/4.078, allocations: 0.741 MB / 2.558 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/4.078, allocations: 1.094 kB / 2.558 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009282/4.079, allocations: 0.5001 MB / 2.558 GB, free: 226.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/4.08, allocations: 241.2 kB / 2.558 GB, free: 226.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/4.09, allocations: 5.185 MB / 2.564 GB, free: 224.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007336/4.091, allocations: 1.04 MB / 2.565 GB, free: 223.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001111/4.092, allocations: 264.6 kB / 2.565 GB, free: 223.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/4.093, allocations: 370.1 kB / 2.565 GB, free: 223.8 MB / 0.7136 GB Notification: Performance of SimCode: time 8.295e-06/4.093, allocations: 4 kB / 2.565 GB, free: 223.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05012/4.143, allocations: 29.76 MB / 2.594 GB, free: 221.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/4.143, allocations: 292.4 kB / 2.594 GB, free: 221.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.053/7.196, allocations: 8.359 kB / 2.595 GB, free: 221.3 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)