Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_IDEAS_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.0009029/0.0009029, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.00101/0.001011, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6398/0.6398, allocations: 132.2 MB / 423.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.000259, allocations: 12.61 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3071, allocations: 81.57 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.003276/0.3104, allocations: 3.53 MB / 0.5864 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.123/0.4335, allocations: 127.5 MB / 0.7109 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003305/0.4338, allocations: 19.88 kB / 0.7109 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.4341, allocations: 67.41 kB / 0.711 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009301/0.435, allocations: 465.3 kB / 0.7114 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.4361, allocations: 0.6221 MB / 0.712 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007362/0.4369, allocations: 0.763 MB / 0.7128 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005589/0.4374, allocations: 491.2 kB / 0.7132 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003342/0.4378, allocations: 314.7 kB / 0.7135 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.4381, allocations: 298.4 kB / 0.7138 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.258e-05/0.4382, allocations: 24 kB / 0.7138 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005917/0.4388, allocations: 303.6 kB / 0.7141 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.439, allocations: 171.2 kB / 0.7143 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.4391, allocations: 181.2 kB / 0.7145 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009197/0.4401, allocations: 1.075 MB / 0.7155 GB, free: 8.484 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.4401, allocations: 0 / 0.7155 GB, free: 8.484 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4401, allocations: 4 kB / 0.7155 GB, free: 8.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.4401, allocations: 0 / 0.7155 GB, free: 8.48 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001857/0.442, allocations: 1.159 MB / 0.7166 GB, free: 7.273 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.442, allocations: 8.031 kB / 0.7167 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/0.4422, allocations: 131.1 kB / 0.7168 GB, free: 7.129 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.4432, allocations: 254.5 kB / 0.717 GB, free: 6.879 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008515/0.4441, allocations: 0.6835 MB / 0.7177 GB, free: 6.148 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.4441, allocations: 62 kB / 0.7177 GB, free: 6.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.065e-05/0.4442, allocations: 80 kB / 0.7178 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.4455, allocations: 0.9208 MB / 0.7187 GB, free: 5.039 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4456, allocations: 0 / 0.7187 GB, free: 5.039 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/0.4456, allocations: 32 kB / 0.7188 GB, free: 5.008 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.4457, allocations: 20 kB / 0.7188 GB, free: 4.988 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.4473, allocations: 1.128 MB / 0.7199 GB, free: 3.859 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/0.4506, allocations: 2.721 MB / 0.7225 GB, free: 1.055 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.4519, allocations: 0.8713 MB / 0.7234 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-05/0.452, allocations: 28.69 kB / 0.7234 GB, free: 136 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006394/0.4526, allocations: 431.2 kB / 0.7238 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 1.613e-06/0.4527, allocations: 0 / 0.7238 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.002463/0.4551, allocations: 1.097 MB / 0.7249 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.4552, allocations: 188.6 kB / 0.7251 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005734/0.4558, allocations: 0.5901 MB / 0.7256 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/0.4559, allocations: 37.7 kB / 0.7257 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.4561, allocations: 388.1 kB / 0.7261 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.4563, allocations: 248.4 kB / 0.7263 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.4563, allocations: 16 kB / 0.7263 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4564, allocations: 378.8 kB / 0.7267 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.4568, allocations: 225.2 kB / 0.7269 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/0.4573, allocations: 345.2 kB / 0.7272 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.4577, allocations: 275.1 kB / 0.7275 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4577, allocations: 0 / 0.7275 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001448/0.4592, allocations: 0.747 MB / 0.7282 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4592, allocations: 4 kB / 0.7282 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4592, allocations: 4 kB / 0.7282 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005178/0.4598, allocations: 80.97 kB / 0.7283 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/0.4603, allocations: 151.8 kB / 0.7284 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.462, allocations: 1.535 MB / 0.7299 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.4625, allocations: 91.38 kB / 0.73 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.085e-05/0.4626, allocations: 31.98 kB / 0.73 GB, free: 9.035 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003693/0.463, allocations: 251.9 kB / 0.7303 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.4631, allocations: 83 kB / 0.7304 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.4654, allocations: 1.006 MB / 0.7313 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.4654, allocations: 8 kB / 0.7314 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.4654, allocations: 0 / 0.7314 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.4654, allocations: 7.984 kB / 0.7314 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.4683, allocations: 1.923 MB / 0.7332 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4683, allocations: 0 / 0.7332 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/0.4688, allocations: 147.8 kB / 0.7334 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004496/0.4693, allocations: 84.77 kB / 0.7335 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/0.4693, allocations: 23.98 kB / 0.7335 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/0.4708, allocations: 1.552 MB / 0.735 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4708, allocations: 3.938 kB / 0.735 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.4723, allocations: 0.9219 MB / 0.7359 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.4726, allocations: 267.8 kB / 0.7362 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.579e-05/0.4728, allocations: 16 kB / 0.7362 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000533/0.4733, allocations: 71.91 kB / 0.7362 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.987e-05/0.4734, allocations: 68.78 kB / 0.7363 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/0.4735, allocations: 27.98 kB / 0.7363 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004141/0.4739, allocations: 427 kB / 0.7367 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4739, allocations: 0 / 0.7367 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006371/0.4745, allocations: 299.2 kB / 0.737 GB, free: 1.613 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002692/0.4772, allocations: 1.956 MB / 0.7389 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.4784, allocations: 0.7359 MB / 0.7397 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4784, allocations: 0 / 0.7397 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.4792, allocations: 0.4885 MB / 0.7401 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008939/0.4801, allocations: 241.9 kB / 0.7404 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008054/0.4881, allocations: 5.598 MB / 0.7458 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.4887, allocations: 1.024 MB / 0.7468 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000769/0.4894, allocations: 258.2 kB / 0.7471 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/0.4899, allocations: 359.3 kB / 0.7474 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.4899, allocations: 4 kB / 0.7474 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.047/6.537, allocations: 20.32 MB / 0.7673 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003291/6.537, allocations: 265.9 kB / 0.7675 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/8.529, allocations: 0 / 0.7675 GB, free: 2.766 MB / 0.5919 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) Environment - environmentSimulation: