Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IBPSA_latest_IBPSA_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.001352/0.001352, allocations: 101 kB / 16.27 MB, free: 5.969 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.001291/0.001291, allocations: 192 kB / 17.2 MB, free: 5.598 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.24/1.24, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6601/0.6601, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 59.91 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2742, allocations: 77.93 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004806/0.2791, allocations: 4.913 MB / 0.5721 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1243/0.4034, allocations: 150.6 MB / 0.7192 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008628/0.4043, allocations: 15.94 kB / 0.7192 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006087/0.4049, allocations: 202.1 kB / 0.7194 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.4066, allocations: 0.5462 MB / 0.7199 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.4085, allocations: 0.8547 MB / 0.7208 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.4098, allocations: 1.405 MB / 0.7221 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007535/0.4105, allocations: 0.6066 MB / 0.7227 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005656/0.4111, allocations: 0.4944 MB / 0.7232 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005574/0.4117, allocations: 0.5056 MB / 0.7237 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.4118, allocations: 123.9 kB / 0.7238 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007148/0.4126, allocations: 463.7 kB / 0.7243 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.4128, allocations: 295 kB / 0.7245 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004409/0.4132, allocations: 0.5791 MB / 0.7251 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.4147, allocations: 1.624 MB / 0.7267 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4147, allocations: 0 / 0.7267 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4147, allocations: 0 / 0.7267 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.4147, allocations: 0 / 0.7267 GB, free: 6.984 MB / 0.5606 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.002232/0.417, allocations: 1.462 MB / 0.7281 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.417, allocations: 8.625 kB / 0.7281 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.4172, allocations: 143.7 kB / 0.7283 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.4183, allocations: 231.3 kB / 0.7285 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008697/0.4191, allocations: 0.7497 MB / 0.7292 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.4192, allocations: 66 kB / 0.7293 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.525e-05/0.4193, allocations: 84 kB / 0.7294 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.4207, allocations: 0.9833 MB / 0.7303 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.4207, allocations: 0 / 0.7303 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/0.4208, allocations: 40 kB / 0.7304 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.4208, allocations: 20 kB / 0.7304 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.4226, allocations: 1.171 MB / 0.7315 GB, free: 1.887 MB / 0.5606 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.003568/0.4261, allocations: 3.044 MB / 0.7345 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.4278, allocations: 0.9375 MB / 0.7354 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/0.4283, allocations: 314.7 kB / 0.7357 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.32e-05/0.4283, allocations: 32.55 kB / 0.7357 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007714/0.4291, allocations: 0.5071 MB / 0.7362 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=83): time 1.774e-06/0.4291, allocations: 0 / 0.7362 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.002808/0.4319, allocations: 1.235 MB / 0.7374 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/0.432, allocations: 192.9 kB / 0.7376 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006228/0.4327, allocations: 0.6293 MB / 0.7382 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/0.4327, allocations: 45.7 kB / 0.7383 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.433, allocations: 416.2 kB / 0.7387 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.4331, allocations: 268.1 kB / 0.7389 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.4333, allocations: 150.5 kB / 0.7391 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4335, allocations: 390.7 kB / 0.7395 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.4339, allocations: 253.9 kB / 0.7397 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.4345, allocations: 393 kB / 0.7401 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009776/0.4355, allocations: 0.6189 MB / 0.7407 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4355, allocations: 4.062 kB / 0.7407 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001667/0.4371, allocations: 0.8369 MB / 0.7415 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.4372, allocations: 4 kB / 0.7415 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4372, allocations: 4 kB / 0.7415 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005237/0.4377, allocations: 84.95 kB / 0.7416 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.4383, allocations: 155.8 kB / 0.7417 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.4401, allocations: 1.647 MB / 0.7433 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/0.4407, allocations: 91.23 kB / 0.7434 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.4408, allocations: 31.98 kB / 0.7435 GB, free: 5.16 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.0002999/0.4411, allocations: 277.8 kB / 0.7437 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.4412, allocations: 79.06 kB / 0.7438 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.4433, allocations: 1.093 MB / 0.7449 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.4433, allocations: 8 kB / 0.7449 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4433, allocations: 4 kB / 0.7449 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.4433, allocations: 3.984 kB / 0.7449 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.4463, allocations: 2.103 MB / 0.7469 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4464, allocations: 0 / 0.7469 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/0.4469, allocations: 151.8 kB / 0.7471 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004093/0.4473, allocations: 76.72 kB / 0.7472 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.4474, allocations: 27.98 kB / 0.7472 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2029/0.6503, allocations: 1.653 MB / 0.7488 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6504, allocations: 1.828 kB / 0.7488 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.6527, allocations: 1.02 MB / 0.7498 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.653, allocations: 271.3 kB / 0.7501 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.6532, allocations: 24.41 kB / 0.7501 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006597/0.6539, allocations: 62.92 kB / 0.7501 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.654, allocations: 74.64 kB / 0.7502 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/0.6541, allocations: 33.52 kB / 0.7502 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005659/0.6547, allocations: 465.4 kB / 0.7507 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6547, allocations: 4.562 kB / 0.7507 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008501/0.6555, allocations: 325.8 kB / 0.751 GB, free: 169.4 MB / 0.5762 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.003151/0.6587, allocations: 2.056 MB / 0.753 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002258/0.661, allocations: 1.035 MB / 0.754 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.661, allocations: 2.375 kB / 0.754 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009651/0.662, allocations: 0.5266 MB / 0.7545 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.6633, allocations: 314.9 kB / 0.7548 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009179/0.6724, allocations: 6.569 MB / 0.7612 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.6729, allocations: 1.034 MB / 0.7623 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008608/0.6738, allocations: 273 kB / 0.7625 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/0.6743, allocations: 392.6 kB / 0.7629 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.6743, allocations: 0 / 0.7629 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2914/0.9657, allocations: 22.06 MB / 0.7844 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.49, allocations: 11.78 kB / 0.7844 GB, free: 149.5 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)