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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005442/0.005442, allocations: 96.34 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 202.8 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 282.8 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8857/0.8857, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 91.84 kB / 0.681 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1321, allocations: 86.97 MB / 0.7659 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005379/0.1375, allocations: 4.412 MB / 0.7702 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.412/0.5495, allocations: 150.6 MB / 0.9173 GB, free: 7.871 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005975/0.5502, allocations: 15.94 kB / 0.9173 GB, free: 7.855 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005052/0.5507, allocations: 176.6 kB / 0.9175 GB, free: 7.684 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.5521, allocations: 0.5139 MB / 0.918 GB, free: 7.188 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.5538, allocations: 0.8568 MB / 0.9188 GB, free: 6.355 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.5549, allocations: 1.328 MB / 0.9201 GB, free: 5.02 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007963/0.5557, allocations: 0.6985 MB / 0.9208 GB, free: 4.301 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005389/0.5563, allocations: 0.4955 MB / 0.9213 GB, free: 3.805 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004861/0.5568, allocations: 0.5366 MB / 0.9218 GB, free: 3.266 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.5569, allocations: 124 kB / 0.9219 GB, free: 3.145 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007483/0.5577, allocations: 0.5035 MB / 0.9224 GB, free: 2.641 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.5579, allocations: 319 kB / 0.9227 GB, free: 2.328 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004205/0.5583, allocations: 0.5867 MB / 0.9233 GB, free: 1.738 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.56, allocations: 1.718 MB / 0.925 GB, free: 24 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.56, allocations: 4 kB / 0.925 GB, free: 20 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.343e-06/0.56, allocations: 0 / 0.925 GB, free: 20 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.56, allocations: 0 / 0.925 GB, free: 20 kB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002285/0.5623, allocations: 1.533 MB / 0.9265 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.5624, allocations: 11.78 kB / 0.9265 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.5625, allocations: 148.2 kB / 0.9266 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.5636, allocations: 224 kB / 0.9269 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.5647, allocations: 0.7896 MB / 0.9276 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.508e-05/0.5647, allocations: 77.98 kB / 0.9277 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.5649, allocations: 88 kB / 0.9278 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.5665, allocations: 1.012 MB / 0.9288 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.5665, allocations: 0 / 0.9288 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.5666, allocations: 44.62 kB / 0.9288 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.5666, allocations: 24 kB / 0.9288 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.5685, allocations: 1.175 MB / 0.93 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003762/0.5722, allocations: 2.685 MB / 0.9326 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.5738, allocations: 0.9088 MB / 0.9335 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/0.5744, allocations: 314.7 kB / 0.9338 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005832/0.575, allocations: 474.1 kB / 0.9343 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000849/0.5758, allocations: 0.4995 MB / 0.9347 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.224e-06/0.5759, allocations: 0 / 0.9347 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.002965/0.5788, allocations: 1.229 MB / 0.9359 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.5789, allocations: 192.5 kB / 0.9361 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006825/0.5796, allocations: 0.6411 MB / 0.9367 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/0.5797, allocations: 45.7 kB / 0.9368 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.58, allocations: 433 kB / 0.9372 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.5801, allocations: 281.6 kB / 0.9375 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.5803, allocations: 154.6 kB / 0.9376 GB, free: 2.645 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5805, allocations: 382.8 kB / 0.938 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/0.581, allocations: 253.9 kB / 0.9382 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005897/0.5816, allocations: 370.5 kB / 0.9386 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.5827, allocations: 0.5977 MB / 0.9392 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5827, allocations: 0 / 0.9392 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001775/0.5844, allocations: 0.8296 MB / 0.94 GB, free: 188 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.5845, allocations: 8 kB / 0.94 GB, free: 180 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5845, allocations: 0 / 0.94 GB, free: 180 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005376/0.585, allocations: 84.86 kB / 0.9401 GB, free: 92 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/0.5857, allocations: 155.8 kB / 0.9402 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.5875, allocations: 1.63 MB / 0.9418 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006365/0.5881, allocations: 102.3 kB / 0.9419 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.5882, allocations: 27.98 kB / 0.9419 GB, free: 14.04 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003473/0.5886, allocations: 271.5 kB / 0.9422 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.5887, allocations: 91.44 kB / 0.9423 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.591, allocations: 1.101 MB / 0.9434 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.591, allocations: 12.03 kB / 0.9434 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.591, allocations: 3.984 kB / 0.9434 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.591, allocations: 3.984 kB / 0.9434 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.594, allocations: 2.018 MB / 0.9453 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.594, allocations: 0 / 0.9453 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005801/0.5946, allocations: 151.8 kB / 0.9455 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004055/0.595, allocations: 72.8 kB / 0.9456 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/0.5951, allocations: 27.97 kB / 0.9456 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.5967, allocations: 1.65 MB / 0.9472 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5967, allocations: 4.062 kB / 0.9472 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.5986, allocations: 1.03 MB / 0.9482 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.599, allocations: 280.2 kB / 0.9485 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.5991, allocations: 20 kB / 0.9485 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/0.5998, allocations: 73.11 kB / 0.9486 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.5999, allocations: 68.91 kB / 0.9486 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/0.6, allocations: 35.97 kB / 0.9487 GB, free: 6.891 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004972/0.6005, allocations: 471 kB / 0.9491 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6005, allocations: 0 / 0.9491 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007906/0.6013, allocations: 339 kB / 0.9494 GB, free: 6.102 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003259/0.6046, allocations: 2.094 MB / 0.9515 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.6062, allocations: 0.821 MB / 0.9523 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6062, allocations: 0 / 0.9523 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009118/0.6071, allocations: 0.5353 MB / 0.9528 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.6083, allocations: 289.9 kB / 0.9531 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.6189, allocations: 6.548 MB / 0.9595 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.6195, allocations: 1.043 MB / 0.9605 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007842/0.6203, allocations: 274.7 kB / 0.9607 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00053/0.6209, allocations: 407.3 kB / 0.9611 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.6209, allocations: 0 / 0.9611 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04576/0.6666, allocations: 21.96 MB / 0.9826 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.03, allocations: 11.77 kB / 0.9826 GB, free: 4.5 MB / 0.7325 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)