Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_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.003664/0.003664, allocations: 96.61 kB / 15.73 MB, free: 6.008 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.001063/0.001063, allocations: 196.6 kB / 16.67 MB, free: 5.941 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.494/2.494, allocations: 482.6 MB / 0.7551 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002492/0.002492, allocations: 67.89 kB / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2785, allocations: 162.3 MB / 1.242 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005851/0.2843, allocations: 4.927 MB / 1.247 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6651/0.9494, allocations: 150.6 MB / 1.394 GB, free: 1.402 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005594/0.95, allocations: 19.41 kB / 1.394 GB, free: 1.395 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.9505, allocations: 194.2 kB / 1.394 GB, free: 1.223 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.9518, allocations: 0.5582 MB / 1.394 GB, free: 0.8203 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.9534, allocations: 0.8484 MB / 1.395 GB, free: 196 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001192/0.9546, allocations: 1.423 MB / 1.397 GB, free: 15.31 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007472/0.9554, allocations: 0.6115 MB / 1.397 GB, free: 14.93 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.9559, allocations: 0.4916 MB / 1.398 GB, free: 14.63 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005366/0.9564, allocations: 0.5155 MB / 1.398 GB, free: 14.26 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.9566, allocations: 117.8 kB / 1.398 GB, free: 14.26 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006687/0.9573, allocations: 484.7 kB / 1.399 GB, free: 14.08 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.9575, allocations: 307.1 kB / 1.399 GB, free: 13.84 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004904/0.958, allocations: 0.567 MB / 1.4 GB, free: 13.43 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.9596, allocations: 1.675 MB / 1.401 GB, free: 12.22 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.9596, allocations: 0 / 1.401 GB, free: 12.22 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9596, allocations: 1.406 kB / 1.401 GB, free: 12.22 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.9596, allocations: 0 / 1.401 GB, free: 12.22 MB / 1.107 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.002251/0.9619, allocations: 1.498 MB / 1.403 GB, free: 11.04 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.9619, allocations: 17.97 kB / 1.403 GB, free: 11.03 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.9621, allocations: 138.2 kB / 1.403 GB, free: 10.92 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.9632, allocations: 242.9 kB / 1.403 GB, free: 10.8 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.9642, allocations: 0.7698 MB / 1.404 GB, free: 10.17 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.456e-05/0.9643, allocations: 66.28 kB / 1.404 GB, free: 10.14 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.9644, allocations: 88.75 kB / 1.404 GB, free: 10.11 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.966, allocations: 0.9834 MB / 1.405 GB, free: 9.461 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.966, allocations: 0.75 kB / 1.405 GB, free: 9.461 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.213e-05/0.9661, allocations: 38.59 kB / 1.405 GB, free: 9.434 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.9661, allocations: 20.88 kB / 1.405 GB, free: 9.434 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.968, allocations: 1.163 MB / 1.406 GB, free: 8.879 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003839/0.9718, allocations: 3.069 MB / 1.409 GB, free: 6.34 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.9735, allocations: 0.9468 MB / 1.41 GB, free: 5.812 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007356/0.9743, allocations: 312.8 kB / 1.41 GB, free: 5.66 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-05/0.9744, allocations: 35.06 kB / 1.411 GB, free: 5.641 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001207/0.9756, allocations: 0.499 MB / 1.411 GB, free: 5.32 MB / 1.107 GB Notification: Performance of pre-optimization done (n=83): time 3.036e-06/0.9756, allocations: 0 / 1.411 GB, free: 5.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=83): time 0.004542/0.9802, allocations: 1.237 MB / 1.412 GB, free: 4.648 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.9803, allocations: 194.7 kB / 1.412 GB, free: 4.426 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.9814, allocations: 0.6318 MB / 1.413 GB, free: 4.062 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.871e-05/0.9815, allocations: 42.17 kB / 1.413 GB, free: 4.02 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/0.982, allocations: 418.8 kB / 1.413 GB, free: 3.652 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/0.9823, allocations: 287.9 kB / 1.414 GB, free: 3.402 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003264/0.9826, allocations: 157.8 kB / 1.414 GB, free: 3.305 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000252/0.9829, allocations: 386 kB / 1.414 GB, free: 2.938 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007295/0.9836, allocations: 252.4 kB / 1.414 GB, free: 2.812 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009433/0.9846, allocations: 387.6 kB / 1.415 GB, free: 2.551 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.9863, allocations: 0.618 MB / 1.415 GB, free: 2.199 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9863, allocations: 1.5 kB / 1.415 GB, free: 2.199 MB / 1.107 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00258/0.9889, allocations: 0.8426 MB / 1.416 GB, free: 1.766 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.9889, allocations: 6.219 kB / 1.416 GB, free: 1.766 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.9889, allocations: 1.219 kB / 1.416 GB, free: 1.766 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005345/0.9895, allocations: 82.02 kB / 1.416 GB, free: 1.727 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/0.9901, allocations: 168.1 kB / 1.417 GB, free: 1.68 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.992, allocations: 1.621 MB / 1.418 GB, free: 84 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.9926, allocations: 105.1 kB / 1.418 GB, free: 12 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.9927, allocations: 33.09 kB / 1.418 GB, free: 0 / 1.107 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.0003307/0.993, allocations: 259.8 kB / 1.418 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.9932, allocations: 87.47 kB / 1.419 GB, free: 15.75 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.9953, allocations: 1.098 MB / 1.42 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.9954, allocations: 12.97 kB / 1.42 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.9954, allocations: 0 / 1.42 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.9954, allocations: 3.984 kB / 1.42 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/0.9985, allocations: 2.096 MB / 1.422 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.9985, allocations: 0 / 1.422 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/0.999, allocations: 151.7 kB / 1.422 GB, free: 13.67 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000402/0.9995, allocations: 74 kB / 1.422 GB, free: 13.63 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/0.9995, allocations: 24.73 kB / 1.422 GB, free: 13.62 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/1.001, allocations: 1.666 MB / 1.424 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.001, allocations: 2.109 kB / 1.424 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/1.003, allocations: 1.021 MB / 1.425 GB, free: 11.09 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/1.004, allocations: 283.9 kB / 1.425 GB, free: 10.79 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.004, allocations: 23.95 kB / 1.425 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006041/1.004, allocations: 68.77 kB / 1.425 GB, free: 10.7 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/1.004, allocations: 72.89 kB / 1.425 GB, free: 10.63 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-05/1.004, allocations: 39.92 kB / 1.425 GB, free: 10.59 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005217/1.005, allocations: 455 kB / 1.425 GB, free: 10.15 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.9e-07/1.005, allocations: 4 kB / 1.425 GB, free: 10.15 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007575/1.006, allocations: 331.2 kB / 1.426 GB, free: 9.824 MB / 1.123 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.003772/1.01, allocations: 2.073 MB / 1.428 GB, free: 7.906 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001507/1.011, allocations: 0.8237 MB / 1.429 GB, free: 7.07 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.011, allocations: 0 / 1.429 GB, free: 7.07 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008852/1.012, allocations: 0.5198 MB / 1.429 GB, free: 6.535 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/1.013, allocations: 320.3 kB / 1.429 GB, free: 6.246 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009722/1.023, allocations: 6.378 MB / 1.436 GB, free: 15.7 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009039/1.024, allocations: 1.032 MB / 1.437 GB, free: 14.64 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00113/1.025, allocations: 267 kB / 1.437 GB, free: 14.38 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008309/1.026, allocations: 399.3 kB / 1.437 GB, free: 13.98 MB / 1.139 GB Notification: Performance of SimCode: time 3.81e-07/1.026, allocations: 0 / 1.437 GB, free: 13.98 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.615/3.641, allocations: 22.31 MB / 1.459 GB, free: 7.992 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.42/27.07, allocations: 15.73 kB / 1.459 GB, free: 7.98 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)