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.00156/0.00156, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.00219, allocations: 287 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9508/0.9508, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 103.2 kB / 0.5953 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1594, allocations: 86.97 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005902/0.1654, allocations: 4.415 MB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4864/0.6518, allocations: 150.6 MB / 0.8316 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009833/0.6529, allocations: 19.72 kB / 0.8317 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005627/0.6535, allocations: 171 kB / 0.8318 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.6554, allocations: 0.5079 MB / 0.8323 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.6576, allocations: 0.8384 MB / 0.8331 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001468/0.6591, allocations: 1.338 MB / 0.8344 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007896/0.6599, allocations: 0.6394 MB / 0.8351 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005525/0.6604, allocations: 0.4916 MB / 0.8356 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005234/0.661, allocations: 0.4992 MB / 0.836 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.6611, allocations: 121 kB / 0.8362 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000816/0.6619, allocations: 462.6 kB / 0.8366 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.6622, allocations: 300.1 kB / 0.8369 GB, free: 244 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.6626, allocations: 0.5508 MB / 0.8374 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.6641, allocations: 1.595 MB / 0.839 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.6641, allocations: 0 / 0.839 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6641, allocations: 5.281 kB / 0.839 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.6641, allocations: 2.109 kB / 0.839 GB, free: 15.82 MB / 0.5762 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.002395/0.6665, allocations: 1.449 MB / 0.8404 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.6666, allocations: 10.86 kB / 0.8404 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.6667, allocations: 136.4 kB / 0.8405 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.6679, allocations: 235.7 kB / 0.8408 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009694/0.6689, allocations: 0.7458 MB / 0.8415 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/0.669, allocations: 69.05 kB / 0.8416 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.6691, allocations: 87.88 kB / 0.8416 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.6707, allocations: 0.9845 MB / 0.8426 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.6707, allocations: 1.625 kB / 0.8426 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.06e-05/0.6708, allocations: 44.06 kB / 0.8426 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.6708, allocations: 20.88 kB / 0.8427 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.6728, allocations: 1.165 MB / 0.8438 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003909/0.6767, allocations: 2.826 MB / 0.8466 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.6784, allocations: 0.9496 MB / 0.8475 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/0.6789, allocations: 308.7 kB / 0.8478 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.34e-05/0.679, allocations: 34.88 kB / 0.8478 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008426/0.6799, allocations: 0.4999 MB / 0.8483 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=83): time 2.325e-06/0.6799, allocations: 4 kB / 0.8483 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.003074/0.683, allocations: 1.229 MB / 0.8495 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/0.6831, allocations: 187.6 kB / 0.8497 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007239/0.6838, allocations: 0.6286 MB / 0.8503 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.723e-05/0.6839, allocations: 43.33 kB / 0.8503 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.6842, allocations: 410.3 kB / 0.8507 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.6844, allocations: 273.4 kB / 0.851 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.6846, allocations: 155.5 kB / 0.8511 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.6847, allocations: 383.7 kB / 0.8515 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004703/0.6852, allocations: 258 kB / 0.8518 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/0.6858, allocations: 377.6 kB / 0.8521 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.6868, allocations: 0.6219 MB / 0.8527 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6868, allocations: 0 / 0.8527 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001819/0.6887, allocations: 0.8353 MB / 0.8535 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6887, allocations: 5.281 kB / 0.8535 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6887, allocations: 2.688 kB / 0.8535 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005906/0.6893, allocations: 80.69 kB / 0.8536 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.6899, allocations: 159.9 kB / 0.8538 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.6919, allocations: 1.632 MB / 0.8554 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007757/0.6927, allocations: 101.9 kB / 0.8555 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.6928, allocations: 34.42 kB / 0.8555 GB, free: 5.141 MB / 0.5762 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.0004705/0.6933, allocations: 267.7 kB / 0.8558 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.6934, allocations: 89.83 kB / 0.8558 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/0.6957, allocations: 1.088 MB / 0.8569 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.6958, allocations: 10.09 kB / 0.8569 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.6958, allocations: 0 / 0.8569 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.6958, allocations: 7.969 kB / 0.8569 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/0.6993, allocations: 2.1 MB / 0.859 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.6993, allocations: 0 / 0.859 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/0.6999, allocations: 157.8 kB / 0.8591 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/0.7003, allocations: 68.08 kB / 0.8592 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.978e-05/0.7004, allocations: 30.09 kB / 0.8592 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.7023, allocations: 1.65 MB / 0.8608 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7023, allocations: 144 / 0.8608 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.7045, allocations: 1.02 MB / 0.8618 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/0.705, allocations: 272 kB / 0.8621 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.7053, allocations: 27.39 kB / 0.8621 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007794/0.7061, allocations: 62.69 kB / 0.8622 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.7062, allocations: 72.14 kB / 0.8622 GB, free: 284 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.511e-05/0.7063, allocations: 38.23 kB / 0.8623 GB, free: 268 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006406/0.707, allocations: 458.5 kB / 0.8627 GB, free: 0 / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.707, allocations: 2.5 kB / 0.8627 GB, free: 0 / 0.5762 GB Notification: Performance of remove unused functions: time 0.001067/0.708, allocations: 318.3 kB / 0.863 GB, free: 15.93 MB / 0.5919 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.003616/0.7117, allocations: 2.07 MB / 0.865 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002386/0.7141, allocations: 1.037 MB / 0.8661 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7141, allocations: 0 / 0.8661 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009327/0.715, allocations: 0.5197 MB / 0.8666 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.7165, allocations: 301.3 kB / 0.8668 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.7281, allocations: 6.687 MB / 0.8734 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/0.7288, allocations: 1.03 MB / 0.8744 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009967/0.7298, allocations: 282.6 kB / 0.8747 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005587/0.7304, allocations: 392.2 kB / 0.875 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of SimCode: time 7.52e-07/0.7304, allocations: 0 / 0.875 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05502/0.7854, allocations: 21.68 MB / 0.8962 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.95, allocations: 1.188 kB / 0.8962 GB, free: 3.211 MB / 0.6075 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)