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.007231/0.007231, allocations: 99.41 kB / 15.73 MB, free: 6.004 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.001931/0.001931, allocations: 191.7 kB / 16.67 MB, free: 5.93 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002475/0.002475, allocations: 298.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9809/0.9809, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002829/0.002829, allocations: 103.8 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.38, allocations: 86.97 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006627/0.3867, allocations: 4.431 MB / 0.7702 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1694/0.5561, allocations: 150.6 MB / 0.9173 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006928/0.5568, allocations: 15.94 kB / 0.9173 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006673/0.5575, allocations: 174.3 kB / 0.9175 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.5594, allocations: 0.5058 MB / 0.918 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.5615, allocations: 0.8576 MB / 0.9188 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.5633, allocations: 1.324 MB / 0.9201 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.5644, allocations: 0.7024 MB / 0.9208 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007479/0.5651, allocations: 0.4983 MB / 0.9213 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006458/0.5658, allocations: 0.5288 MB / 0.9218 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.566, allocations: 124 kB / 0.9219 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009598/0.567, allocations: 0.5035 MB / 0.9224 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.5673, allocations: 319 kB / 0.9227 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005641/0.5679, allocations: 0.5868 MB / 0.9233 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.5699, allocations: 1.729 MB / 0.925 GB, free: 304 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5699, allocations: 0 / 0.925 GB, free: 304 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5699, allocations: 4 kB / 0.925 GB, free: 300 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.172e-05/0.57, allocations: 0 / 0.925 GB, free: 300 kB / 0.6856 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.002655/0.5726, allocations: 1.525 MB / 0.9265 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.5727, allocations: 15.97 kB / 0.9265 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001751/0.5728, allocations: 144.2 kB / 0.9266 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.574, allocations: 224 kB / 0.9268 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.5752, allocations: 0.7932 MB / 0.9276 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.431e-05/0.5753, allocations: 73.98 kB / 0.9277 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.5754, allocations: 92 kB / 0.9278 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.5773, allocations: 1.008 MB / 0.9288 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.5774, allocations: 0 / 0.9288 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-05/0.5775, allocations: 40 kB / 0.9288 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.5775, allocations: 28 kB / 0.9288 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.5796, allocations: 1.175 MB / 0.93 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004325/0.5839, allocations: 2.683 MB / 0.9326 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.5857, allocations: 0.9043 MB / 0.9335 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006276/0.5864, allocations: 322.7 kB / 0.9338 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006963/0.5871, allocations: 462.2 kB / 0.9342 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009733/0.5881, allocations: 0.5033 MB / 0.9347 GB, free: 5.973 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.5881, allocations: 3.938 kB / 0.9347 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003373/0.5915, allocations: 1.237 MB / 0.9359 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.5916, allocations: 188.6 kB / 0.9361 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008715/0.5925, allocations: 0.6411 MB / 0.9367 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-05/0.5926, allocations: 45.69 kB / 0.9368 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.593, allocations: 432.9 kB / 0.9372 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.5932, allocations: 281.6 kB / 0.9375 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.5935, allocations: 150.6 kB / 0.9376 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.5937, allocations: 386.8 kB / 0.938 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/0.5943, allocations: 257.9 kB / 0.9382 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006959/0.595, allocations: 362.5 kB / 0.9386 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.5962, allocations: 0.5994 MB / 0.9392 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5962, allocations: 0 / 0.9392 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002037/0.5983, allocations: 0.8335 MB / 0.94 GB, free: 464 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.5983, allocations: 10.34 kB / 0.94 GB, free: 456 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.5983, allocations: 0 / 0.94 GB, free: 456 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006019/0.5989, allocations: 84.86 kB / 0.9401 GB, free: 368 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006663/0.5996, allocations: 151.8 kB / 0.9402 GB, free: 216 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.6019, allocations: 1.638 MB / 0.9418 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/0.6026, allocations: 91.5 kB / 0.9419 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.6027, allocations: 27.98 kB / 0.9419 GB, free: 14.31 MB / 0.7169 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.0004599/0.6031, allocations: 280.1 kB / 0.9422 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.6033, allocations: 87.44 kB / 0.9423 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.606, allocations: 1.097 MB / 0.9433 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.606, allocations: 12 kB / 0.9433 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.606, allocations: 4 kB / 0.9434 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.606, allocations: 3.984 kB / 0.9434 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003572/0.6096, allocations: 2.014 MB / 0.9453 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6096, allocations: 0 / 0.9453 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.6102, allocations: 147.8 kB / 0.9455 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/0.6107, allocations: 80.72 kB / 0.9455 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.313e-05/0.6108, allocations: 27.97 kB / 0.9456 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.6128, allocations: 1.654 MB / 0.9472 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6128, allocations: 0 / 0.9472 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.6151, allocations: 1.026 MB / 0.9482 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.6155, allocations: 284.2 kB / 0.9485 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.6156, allocations: 16 kB / 0.9485 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006831/0.6163, allocations: 67.92 kB / 0.9485 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.6165, allocations: 76.84 kB / 0.9486 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.497e-05/0.6165, allocations: 31.97 kB / 0.9486 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006155/0.6172, allocations: 471 kB / 0.9491 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6172, allocations: 0 / 0.9491 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008669/0.618, allocations: 339 kB / 0.9494 GB, free: 6.363 MB / 0.7169 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.004316/0.6224, allocations: 2.093 MB / 0.9515 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001813/0.6242, allocations: 0.8273 MB / 0.9523 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6242, allocations: 0 / 0.9523 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.6252, allocations: 0.5277 MB / 0.9528 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.6265, allocations: 304.6 kB / 0.9531 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2973/0.9239, allocations: 6.53 MB / 0.9594 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.9245, allocations: 1.046 MB / 0.9605 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008806/0.9254, allocations: 264 kB / 0.9607 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005511/0.9259, allocations: 407.9 kB / 0.9611 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of SimCode: time 6.41e-07/0.9259, allocations: 0.6562 kB / 0.9611 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04931/0.9753, allocations: 21.96 MB / 0.9826 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.88, allocations: 11.75 kB / 0.9826 GB, free: 170.4 MB / 0.7169 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)