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.005742/0.005742, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.001312/0.001312, allocations: 194.9 kB / 16.68 MB, free: 5.523 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.413/1.413, 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.002637/0.002637, allocations: 280.4 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.033/1.033, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 87.86 kB / 0.6809 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.504/0.5068, allocations: 86.97 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006574/0.5134, allocations: 4.443 MB / 0.7702 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1836/0.697, allocations: 150.6 MB / 0.9173 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007389/0.6978, allocations: 15.94 kB / 0.9173 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005476/0.6984, allocations: 174.3 kB / 0.9174 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.6999, allocations: 0.5174 MB / 0.9179 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.7018, allocations: 0.841 MB / 0.9188 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.7032, allocations: 1.339 MB / 0.9201 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009319/0.7041, allocations: 0.6492 MB / 0.9207 GB, free: 4.645 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006425/0.7048, allocations: 0.4905 MB / 0.9212 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006262/0.7054, allocations: 0.4978 MB / 0.9217 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.7056, allocations: 116 kB / 0.9218 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008618/0.7064, allocations: 491.6 kB / 0.9223 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002954/0.7067, allocations: 303 kB / 0.9225 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.7073, allocations: 0.5479 MB / 0.9231 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.7092, allocations: 1.647 MB / 0.9247 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7092, allocations: 0 / 0.9247 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of FrontEnd: time 5.51e-06/0.7092, allocations: 3.984 kB / 0.9247 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.7092, allocations: 0 / 0.9247 GB, free: 0.5586 MB / 0.6856 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.002565/0.7118, allocations: 1.487 MB / 0.9261 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.7119, allocations: 12.03 kB / 0.9262 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.712, allocations: 135.7 kB / 0.9263 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.7133, allocations: 240 kB / 0.9265 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.7145, allocations: 0.7777 MB / 0.9273 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.095e-05/0.7146, allocations: 66 kB / 0.9273 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.7147, allocations: 84 kB / 0.9274 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.7166, allocations: 0.9872 MB / 0.9284 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.7166, allocations: 0 / 0.9284 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.7167, allocations: 40 kB / 0.9284 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.7167, allocations: 20 kB / 0.9284 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.7189, allocations: 1.163 MB / 0.9296 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004293/0.7232, allocations: 2.802 MB / 0.9323 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.7251, allocations: 0.9368 MB / 0.9332 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005997/0.7257, allocations: 314.7 kB / 0.9335 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-05/0.7258, allocations: 24.61 kB / 0.9335 GB, free: 7.223 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009417/0.7268, allocations: 0.5113 MB / 0.934 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=83): time 2.515e-06/0.7268, allocations: 0 / 0.934 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of matching and sorting (n=83): time 0.003284/0.7301, allocations: 1.229 MB / 0.9352 GB, free: 5.445 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.7302, allocations: 196.9 kB / 0.9354 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000847/0.7311, allocations: 0.6294 MB / 0.936 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.7311, allocations: 41.7 kB / 0.9361 GB, free: 4.531 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.7315, allocations: 413 kB / 0.9365 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.7317, allocations: 289.6 kB / 0.9368 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.732, allocations: 162.5 kB / 0.9369 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.7322, allocations: 382.8 kB / 0.9373 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005264/0.7328, allocations: 253.9 kB / 0.9375 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000665/0.7334, allocations: 377.1 kB / 0.9379 GB, free: 2.637 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.7346, allocations: 0.6189 MB / 0.9385 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.7346, allocations: 4 kB / 0.9385 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001949/0.7366, allocations: 0.8451 MB / 0.9393 GB, free: 1.137 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.7366, allocations: 8 kB / 0.9393 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7366, allocations: 0 / 0.9393 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.7372, allocations: 80.97 kB / 0.9394 GB, free: 1.047 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/0.7379, allocations: 159.8 kB / 0.9395 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.7401, allocations: 1.637 MB / 0.9411 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/0.7408, allocations: 91.5 kB / 0.9412 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/0.7409, allocations: 35.97 kB / 0.9413 GB, free: 14.98 MB / 0.7169 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.0004219/0.7413, allocations: 261.8 kB / 0.9415 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.7414, allocations: 91.44 kB / 0.9416 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.7439, allocations: 1.085 MB / 0.9427 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.7439, allocations: 12 kB / 0.9427 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.7439, allocations: 0 / 0.9427 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.7439, allocations: 3.984 kB / 0.9427 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00363/0.7476, allocations: 2.099 MB / 0.9447 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.7476, allocations: 4 kB / 0.9447 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.7482, allocations: 147.8 kB / 0.9449 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004253/0.7486, allocations: 72.78 kB / 0.9449 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-05/0.7487, allocations: 31.97 kB / 0.945 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.7507, allocations: 1.65 MB / 0.9466 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7508, allocations: 0 / 0.9466 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.7528, allocations: 1.022 MB / 0.9476 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/0.7532, allocations: 288 kB / 0.9479 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.7534, allocations: 23.98 kB / 0.9479 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006415/0.754, allocations: 63.94 kB / 0.9479 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.7542, allocations: 72.83 kB / 0.948 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.63e-05/0.7543, allocations: 36.12 kB / 0.948 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006207/0.7549, allocations: 459 kB / 0.9485 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7549, allocations: 0 / 0.9485 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009296/0.7558, allocations: 319.2 kB / 0.9488 GB, free: 7 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 (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.004285/0.7601, allocations: 2.069 MB / 0.9508 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.7619, allocations: 0.8159 MB / 0.9516 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.7619, allocations: 0 / 0.9516 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009869/0.7629, allocations: 0.5391 MB / 0.9521 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.7643, allocations: 308.2 kB / 0.9524 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3514/1.116, allocations: 6.474 MB / 0.9588 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/1.116, allocations: 1.029 MB / 0.9598 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008852/1.117, allocations: 273 kB / 0.96 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005136/1.118, allocations: 394.7 kB / 0.9604 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of SimCode: time 8.51e-07/1.118, allocations: 1.219 kB / 0.9604 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05603/1.174, allocations: 21.92 MB / 0.9818 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.28, allocations: 13.28 kB / 0.9818 GB, free: 170.6 MB / 0.7169 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)