Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_dev_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.000884/0.0008841, allocations: 101.4 kB / 15.06 MB, free: 1.094 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.000925/0.000925, allocations: 177.3 kB / 15.95 MB, free: 208 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.412/1.412, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.112/1.112, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003307, allocations: 8 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2066, allocations: 82.31 MB / 0.5873 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005493/0.2121, allocations: 3.511 MB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7065/0.9187, allocations: 127.5 MB / 0.7152 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.92, allocations: 12.78 kB / 0.7152 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005411/0.9206, allocations: 75.38 kB / 0.7153 GB, free: 15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.9232, allocations: 471.1 kB / 0.7157 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003533/0.9267, allocations: 0.6171 MB / 0.7163 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002385/0.9291, allocations: 0.7719 MB / 0.7171 GB, free: 14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.9304, allocations: 485 kB / 0.7175 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.9314, allocations: 317.3 kB / 0.7178 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007715/0.9322, allocations: 298.3 kB / 0.7181 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.9324, allocations: 20.94 kB / 0.7181 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.9338, allocations: 301.9 kB / 0.7184 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.9342, allocations: 163 kB / 0.7186 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.9345, allocations: 184.2 kB / 0.7188 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002425/0.9369, allocations: 1.082 MB / 0.7198 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.9369, allocations: 0 / 0.7198 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.335e-06/0.937, allocations: 0 / 0.7198 GB, free: 12.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.931e-05/0.937, allocations: 4 kB / 0.7198 GB, free: 12.96 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.00327/0.9403, allocations: 1.16 MB / 0.721 GB, free: 12.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.9403, allocations: 9.562 kB / 0.721 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001866/0.9405, allocations: 132.3 kB / 0.7211 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.9419, allocations: 243.6 kB / 0.7213 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.9432, allocations: 0.6906 MB / 0.722 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.785e-05/0.9433, allocations: 61.67 kB / 0.7221 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.9434, allocations: 81.09 kB / 0.7221 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.9457, allocations: 0.9156 MB / 0.723 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.9458, allocations: 0 / 0.723 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.9459, allocations: 38.03 kB / 0.7231 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/0.946, allocations: 21.59 kB / 0.7231 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.9485, allocations: 1.133 MB / 0.7242 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004976/0.9535, allocations: 2.697 MB / 0.7268 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.9555, allocations: 0.8783 MB / 0.7277 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.5e-05/0.9556, allocations: 34.42 kB / 0.7277 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009474/0.9566, allocations: 436.2 kB / 0.7281 GB, free: 8.555 MB / 0.545 GB Notification: Performance of pre-optimization done (n=74): time 2.114e-06/0.9566, allocations: 0 / 0.7281 GB, free: 8.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=74): time 0.00316/0.9598, allocations: 1.091 MB / 0.7292 GB, free: 8.102 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.9599, allocations: 190.2 kB / 0.7294 GB, free: 7.879 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008061/0.9607, allocations: 0.5925 MB / 0.73 GB, free: 7.613 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.9608, allocations: 36.95 kB / 0.73 GB, free: 7.574 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.9611, allocations: 393.1 kB / 0.7304 GB, free: 7.266 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.9613, allocations: 247.8 kB / 0.7306 GB, free: 7.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.9613, allocations: 12.69 kB / 0.7306 GB, free: 7.062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.9615, allocations: 381.5 kB / 0.731 GB, free: 6.719 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.962, allocations: 216.8 kB / 0.7312 GB, free: 6.648 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.9625, allocations: 346.1 kB / 0.7315 GB, free: 6.449 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/0.963, allocations: 276.7 kB / 0.7318 GB, free: 6.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.963, allocations: 0 / 0.7318 GB, free: 6.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001702/0.9648, allocations: 0.7464 MB / 0.7325 GB, free: 6.035 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.9648, allocations: 5.438 kB / 0.7325 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.9648, allocations: 4.234 kB / 0.7325 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006257/0.9654, allocations: 83.08 kB / 0.7326 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006202/0.9661, allocations: 145.8 kB / 0.7327 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.9682, allocations: 1.53 MB / 0.7342 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007041/0.9689, allocations: 91.7 kB / 0.7343 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/0.969, allocations: 32.8 kB / 0.7344 GB, free: 4.512 MB / 0.545 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.0004944/0.9695, allocations: 253 kB / 0.7346 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.9696, allocations: 80.33 kB / 0.7347 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.9718, allocations: 1.006 MB / 0.7357 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.9719, allocations: 8 kB / 0.7357 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.9719, allocations: 0 / 0.7357 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.9719, allocations: 4.078 kB / 0.7357 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/0.9753, allocations: 1.925 MB / 0.7375 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.9753, allocations: 0 / 0.7375 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.9759, allocations: 154.6 kB / 0.7377 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000521/0.9764, allocations: 85.28 kB / 0.7378 GB, free: 1.641 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/0.9765, allocations: 23.19 kB / 0.7378 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.9784, allocations: 1.556 MB / 0.7393 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.9784, allocations: 0 / 0.7393 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.9803, allocations: 0.9256 MB / 0.7402 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/0.9807, allocations: 267.8 kB / 0.7405 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.9808, allocations: 19.95 kB / 0.7405 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005913/0.9814, allocations: 76 kB / 0.7406 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.9816, allocations: 56.91 kB / 0.7406 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.594e-05/0.9816, allocations: 31.98 kB / 0.7406 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005763/0.9822, allocations: 431 kB / 0.7411 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9822, allocations: 0 / 0.7411 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001075/0.9833, allocations: 295.2 kB / 0.7413 GB, free: 13.82 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.003487/0.9868, allocations: 1.956 MB / 0.7433 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.9885, allocations: 0.7356 MB / 0.744 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9885, allocations: 0 / 0.744 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000889/0.9894, allocations: 0.4924 MB / 0.7445 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.9907, allocations: 241.4 kB / 0.7447 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/1.001, allocations: 5.606 MB / 0.7502 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006154/1.002, allocations: 1.025 MB / 0.7512 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009596/1.002, allocations: 262.3 kB / 0.7514 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/1.003, allocations: 355.3 kB / 0.7517 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/1.003, allocations: 0 / 0.7517 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04836/1.051, allocations: 20.31 MB / 0.7716 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/1.052, allocations: 259.4 kB / 0.7718 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/3.423, allocations: 4 kB / 0.7718 GB, free: 14.9 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) Environment - environmentSimulation: