Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody",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.004884/0.004884, allocations: 104.7 kB / 15.74 MB, free: 6.492 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.001142/0.001142, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002225/0.002225, allocations: 290.9 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9586/0.9586, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 91.84 kB / 0.6809 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1703, allocations: 86.98 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006018/0.1764, allocations: 4.44 MB / 0.7702 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4813/0.6577, allocations: 150.6 MB / 0.9173 GB, free: 7.848 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007621/0.6585, allocations: 15.94 kB / 0.9173 GB, free: 7.832 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000555/0.6591, allocations: 178.3 kB / 0.9174 GB, free: 7.656 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.6608, allocations: 0.5079 MB / 0.9179 GB, free: 7.164 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.6628, allocations: 0.8434 MB / 0.9188 GB, free: 6.348 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001493/0.6643, allocations: 1.339 MB / 0.9201 GB, free: 5.004 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008433/0.6652, allocations: 0.6388 MB / 0.9207 GB, free: 4.344 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000659/0.6659, allocations: 494.2 kB / 0.9212 GB, free: 3.859 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005894/0.6665, allocations: 0.5017 MB / 0.9217 GB, free: 3.355 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.6666, allocations: 120 kB / 0.9218 GB, free: 3.238 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009331/0.6676, allocations: 491.4 kB / 0.9222 GB, free: 2.762 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.6678, allocations: 303 kB / 0.9225 GB, free: 2.465 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004688/0.6683, allocations: 0.5557 MB / 0.9231 GB, free: 1.906 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.6702, allocations: 1.631 MB / 0.9247 GB, free: 280 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6702, allocations: 0 / 0.9247 GB, free: 280 kB / 0.67 GB Notification: Performance of FrontEnd: time 2.405e-06/0.6702, allocations: 0 / 0.9247 GB, free: 280 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.6702, allocations: 0 / 0.9247 GB, free: 280 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002443/0.6727, allocations: 1.458 MB / 0.9261 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.6727, allocations: 9.812 kB / 0.9261 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.6729, allocations: 146.6 kB / 0.9262 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.6741, allocations: 231.4 kB / 0.9265 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.6752, allocations: 0.7735 MB / 0.9272 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/0.6753, allocations: 62 kB / 0.9273 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.6754, allocations: 91.98 kB / 0.9274 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.677, allocations: 0.9794 MB / 0.9283 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.677, allocations: 7.984 kB / 0.9283 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.15e-05/0.6771, allocations: 36 kB / 0.9284 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.6771, allocations: 24 kB / 0.9284 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.6789, allocations: 1.163 MB / 0.9295 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003856/0.6827, allocations: 2.79 MB / 0.9322 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.6845, allocations: 0.9408 MB / 0.9332 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/0.685, allocations: 302.7 kB / 0.9334 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.766e-05/0.6851, allocations: 36.61 kB / 0.9335 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008484/0.6859, allocations: 0.4997 MB / 0.934 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=83): time 2.564e-06/0.686, allocations: 3.938 kB / 0.934 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of matching and sorting (n=83): time 0.003126/0.6891, allocations: 1.227 MB / 0.9352 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/0.6892, allocations: 196.9 kB / 0.9354 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007338/0.6899, allocations: 0.6332 MB / 0.936 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.69, allocations: 41.7 kB / 0.936 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.6903, allocations: 412.3 kB / 0.9364 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.6905, allocations: 268.1 kB / 0.9367 GB, free: 3.629 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.6907, allocations: 150.5 kB / 0.9368 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6909, allocations: 390.7 kB / 0.9372 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004683/0.6913, allocations: 253.9 kB / 0.9374 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005978/0.6919, allocations: 377.1 kB / 0.9378 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.693, allocations: 0.6228 MB / 0.9384 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.693, allocations: 0 / 0.9384 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001795/0.6948, allocations: 0.8329 MB / 0.9392 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.6948, allocations: 14.22 kB / 0.9392 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6948, allocations: 0 / 0.9392 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/0.6955, allocations: 84.77 kB / 0.9393 GB, free: 0.8477 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/0.6961, allocations: 157.6 kB / 0.9395 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.6982, allocations: 1.63 MB / 0.941 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006617/0.6989, allocations: 99.95 kB / 0.9411 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.699, allocations: 27.98 kB / 0.9412 GB, free: 14.79 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (92): * Single equations (assignments): 91 * 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.0004414/0.6994, allocations: 270.3 kB / 0.9414 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.6996, allocations: 82.97 kB / 0.9415 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.702, allocations: 1.099 MB / 0.9426 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.702, allocations: 8 kB / 0.9426 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.702, allocations: 0 / 0.9426 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.702, allocations: 7.984 kB / 0.9426 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003432/0.7055, allocations: 2.088 MB / 0.9446 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.7055, allocations: 7.938 kB / 0.9446 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005743/0.7061, allocations: 143.8 kB / 0.9448 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004399/0.7065, allocations: 76.78 kB / 0.9449 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-05/0.7066, allocations: 24.64 kB / 0.9449 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.7084, allocations: 1.666 MB / 0.9465 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7085, allocations: 0 / 0.9465 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.7104, allocations: 1.014 MB / 0.9475 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.7108, allocations: 275.7 kB / 0.9478 GB, free: 7.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.711, allocations: 20 kB / 0.9478 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.7117, allocations: 64.48 kB / 0.9478 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.7118, allocations: 76.66 kB / 0.9479 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-05/0.7119, allocations: 39.91 kB / 0.9479 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005738/0.7125, allocations: 463 kB / 0.9484 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7125, allocations: 0 / 0.9484 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008508/0.7133, allocations: 307.3 kB / 0.9487 GB, free: 6.828 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 (95): * Single equations (assignments): 89 * 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.003467/0.7168, allocations: 2.064 MB / 0.9507 GB, free: 4.922 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.7185, allocations: 0.8208 MB / 0.9515 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.7186, allocations: 4 kB / 0.9515 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009186/0.7195, allocations: 0.5236 MB / 0.952 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.7208, allocations: 318.8 kB / 0.9523 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.7319, allocations: 6.429 MB / 0.9586 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/0.7326, allocations: 1.039 MB / 0.9596 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000885/0.7335, allocations: 274.8 kB / 0.9599 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005624/0.7341, allocations: 395.3 kB / 0.9602 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of SimCode: time 1.212e-06/0.7341, allocations: 4 kB / 0.9603 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05397/0.7881, allocations: 22.35 MB / 0.9821 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.07, allocations: 5.125 kB / 0.9821 GB, free: 4.926 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)