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.001898/0.001898, allocations: 108 kB / 15.6 MB, free: 132 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.0021/0.0021, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00256/0.00256, allocations: 282.8 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 178.6 MB / 0.5073 GB, free: 4.555 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 98.06 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1704, allocations: 89.15 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007008/0.1775, allocations: 4.93 MB / 0.6984 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4923/0.6698, allocations: 150.6 MB / 0.8455 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.6709, allocations: 18.78 kB / 0.8455 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006443/0.6716, allocations: 197.3 kB / 0.8457 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.6735, allocations: 0.5561 MB / 0.8463 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.6758, allocations: 0.8423 MB / 0.8471 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002032/0.6778, allocations: 1.412 MB / 0.8485 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.6789, allocations: 0.6157 MB / 0.8491 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009702/0.6798, allocations: 499.8 kB / 0.8495 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006737/0.6805, allocations: 0.5145 MB / 0.85 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.6807, allocations: 115.4 kB / 0.8501 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009889/0.6817, allocations: 459.6 kB / 0.8506 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.682, allocations: 299.2 kB / 0.8509 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005472/0.6826, allocations: 0.5795 MB / 0.8514 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.6847, allocations: 1.616 MB / 0.853 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6847, allocations: 1.344 kB / 0.853 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6847, allocations: 0 / 0.853 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.6847, allocations: 0 / 0.853 GB, free: 2.133 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.002699/0.6874, allocations: 1.461 MB / 0.8544 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.6875, allocations: 10.03 kB / 0.8545 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001707/0.6877, allocations: 141.9 kB / 0.8546 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.6889, allocations: 228 kB / 0.8548 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.69, allocations: 0.7608 MB / 0.8555 GB, free: 148 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/0.6901, allocations: 64.28 kB / 0.8556 GB, free: 120 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.6902, allocations: 82.97 kB / 0.8557 GB, free: 92 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.6918, allocations: 0.9809 MB / 0.8566 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.6918, allocations: 0 / 0.8566 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.775e-05/0.6919, allocations: 38.38 kB / 0.8567 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.692, allocations: 23.75 kB / 0.8567 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.6939, allocations: 1.163 MB / 0.8578 GB, free: 14.86 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004408/0.6983, allocations: 3.06 MB / 0.8608 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.7001, allocations: 0.9501 MB / 0.8618 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005405/0.7006, allocations: 310.6 kB / 0.8621 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.645e-05/0.7007, allocations: 31.56 kB / 0.8621 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009593/0.7017, allocations: 0.5039 MB / 0.8626 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=83): time 2.555e-06/0.7017, allocations: 0 / 0.8626 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.003351/0.7051, allocations: 1.229 MB / 0.8638 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.7052, allocations: 191 kB / 0.864 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008831/0.7061, allocations: 0.6349 MB / 0.8646 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.002e-05/0.7062, allocations: 43.8 kB / 0.8646 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00038/0.7066, allocations: 409.9 kB / 0.865 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.7068, allocations: 272.8 kB / 0.8653 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.7071, allocations: 155.5 kB / 0.8654 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.7073, allocations: 384.8 kB / 0.8658 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004987/0.7078, allocations: 254.3 kB / 0.866 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/0.7084, allocations: 382.8 kB / 0.8664 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.7095, allocations: 0.629 MB / 0.867 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7096, allocations: 0 / 0.867 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001937/0.7115, allocations: 0.8369 MB / 0.8678 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.7115, allocations: 4.688 kB / 0.8678 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.7115, allocations: 2.812 kB / 0.8678 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006157/0.7122, allocations: 86.3 kB / 0.8679 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/0.7128, allocations: 159.5 kB / 0.8681 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.7151, allocations: 1.64 MB / 0.8697 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008088/0.7159, allocations: 91.77 kB / 0.8698 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.716, allocations: 41.84 kB / 0.8698 GB, free: 6.02 MB / 0.5919 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.0005093/0.7165, allocations: 266.1 kB / 0.87 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.7167, allocations: 89.81 kB / 0.8701 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.7192, allocations: 1.094 MB / 0.8712 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.7192, allocations: 8 kB / 0.8712 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.7192, allocations: 4 kB / 0.8712 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.7192, allocations: 3.984 kB / 0.8712 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/0.723, allocations: 2.098 MB / 0.8733 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.723, allocations: 0 / 0.8733 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/0.7237, allocations: 151.8 kB / 0.8734 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/0.7241, allocations: 72.78 kB / 0.8735 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/0.7242, allocations: 27.98 kB / 0.8735 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.7264, allocations: 1.654 MB / 0.8751 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7264, allocations: 0 / 0.8751 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.7286, allocations: 1.012 MB / 0.8761 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/0.7291, allocations: 279.7 kB / 0.8764 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.7292, allocations: 20 kB / 0.8764 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006966/0.7299, allocations: 64.62 kB / 0.8765 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.7301, allocations: 68.91 kB / 0.8765 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.101e-05/0.7302, allocations: 43.84 kB / 0.8766 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006696/0.7309, allocations: 463 kB / 0.877 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7309, allocations: 4 kB / 0.877 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001029/0.7319, allocations: 327.2 kB / 0.8773 GB, free: 14.38 MB / 0.6075 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.004198/0.7361, allocations: 2.066 MB / 0.8793 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002653/0.7388, allocations: 1.031 MB / 0.8803 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7388, allocations: 0 / 0.8803 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.7399, allocations: 0.5279 MB / 0.8809 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.7414, allocations: 328.4 kB / 0.8812 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.7525, allocations: 6.575 MB / 0.8876 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.7532, allocations: 1.031 MB / 0.8886 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001001/0.7542, allocations: 270.9 kB / 0.8889 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005682/0.7548, allocations: 391.3 kB / 0.8892 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of SimCode: time 7.61e-07/0.7548, allocations: 0 / 0.8892 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06014/0.815, allocations: 22.1 MB / 0.9108 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.22, allocations: 15.33 kB / 0.9108 GB, free: 12.41 MB / 0.6387 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)