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.001073/0.001073, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001377/0.001377, allocations: 168.7 kB / 15.95 MB, free: 204 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.313/1.313, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.746/0.746, allocations: 132.3 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003072, allocations: 8.656 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3719, allocations: 81.58 MB / 0.5832 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004037/0.376, allocations: 3.608 MB / 0.5867 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1545/0.5305, allocations: 136.7 MB / 0.7202 GB, free: 3.879 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006953/0.5313, allocations: 11.94 kB / 0.7202 GB, free: 3.867 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.5317, allocations: 134.9 kB / 0.7203 GB, free: 3.734 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.5329, allocations: 393 kB / 0.7207 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.5344, allocations: 0.6179 MB / 0.7213 GB, free: 2.742 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.5355, allocations: 1.039 MB / 0.7223 GB, free: 1.699 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007023/0.5362, allocations: 491.2 kB / 0.7228 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004774/0.5367, allocations: 310.5 kB / 0.7231 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.5371, allocations: 322.3 kB / 0.7234 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.5372, allocations: 20 kB / 0.7234 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006784/0.5379, allocations: 339.6 kB / 0.7237 GB, free: 236 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.5381, allocations: 167.2 kB / 0.7239 GB, free: 68 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.5382, allocations: 185.1 kB / 0.724 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.5393, allocations: 1.075 MB / 0.7251 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5393, allocations: 0 / 0.7251 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5393, allocations: 0 / 0.7251 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.5393, allocations: 0 / 0.7251 GB, free: 14.8 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001842/0.5411, allocations: 1.165 MB / 0.7262 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5412, allocations: 8.031 kB / 0.7262 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.5414, allocations: 139.1 kB / 0.7264 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.5424, allocations: 238.5 kB / 0.7266 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009155/0.5433, allocations: 0.6913 MB / 0.7273 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.5434, allocations: 58 kB / 0.7273 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.5435, allocations: 87.98 kB / 0.7274 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.545, allocations: 0.917 MB / 0.7283 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.545, allocations: 7.938 kB / 0.7283 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.46e-05/0.5451, allocations: 36 kB / 0.7284 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.5451, allocations: 27.94 kB / 0.7284 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.5469, allocations: 1.12 MB / 0.7295 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/0.5506, allocations: 2.719 MB / 0.7321 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.5521, allocations: 0.8674 MB / 0.733 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004668/0.5526, allocations: 298.3 kB / 0.7333 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.726e-05/0.5527, allocations: 24.69 kB / 0.7333 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007273/0.5534, allocations: 435.2 kB / 0.7337 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 2.304e-06/0.5534, allocations: 7.938 kB / 0.7337 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.002673/0.5561, allocations: 1.088 MB / 0.7348 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.511e-05/0.5562, allocations: 192.6 kB / 0.735 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/0.5569, allocations: 0.5862 MB / 0.7355 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.557, allocations: 37.7 kB / 0.7356 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.5572, allocations: 392.1 kB / 0.7359 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.5574, allocations: 244.4 kB / 0.7362 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.5575, allocations: 12 kB / 0.7362 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5576, allocations: 386.7 kB / 0.7365 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.558, allocations: 217.2 kB / 0.7368 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.5586, allocations: 349.4 kB / 0.7371 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/0.5591, allocations: 271.1 kB / 0.7373 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5591, allocations: 0 / 0.7373 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001551/0.5606, allocations: 0.7471 MB / 0.7381 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5607, allocations: 12.03 kB / 0.7381 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.5607, allocations: 0 / 0.7381 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/0.5612, allocations: 84.72 kB / 0.7382 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.5618, allocations: 147.8 kB / 0.7383 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.5637, allocations: 1.524 MB / 0.7398 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005335/0.5643, allocations: 87.33 kB / 0.7399 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.5643, allocations: 27.98 kB / 0.7399 GB, free: 15.07 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: 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.0004018/0.5647, allocations: 247.9 kB / 0.7401 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.5649, allocations: 79.06 kB / 0.7402 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.567, allocations: 1.006 MB / 0.7412 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.567, allocations: 12 kB / 0.7412 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.567, allocations: 0 / 0.7412 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/0.567, allocations: 3.984 kB / 0.7412 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/0.5699, allocations: 1.923 MB / 0.7431 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.57, allocations: 3.938 kB / 0.7431 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.5705, allocations: 143.8 kB / 0.7432 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000451/0.571, allocations: 92.72 kB / 0.7433 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.571, allocations: 19.98 kB / 0.7433 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.5727, allocations: 1.548 MB / 0.7449 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5727, allocations: 3.953 kB / 0.7449 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.5744, allocations: 0.9141 MB / 0.7458 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/0.5748, allocations: 267.8 kB / 0.746 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.5749, allocations: 19.95 kB / 0.746 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/0.5755, allocations: 71.94 kB / 0.7461 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.5757, allocations: 60.91 kB / 0.7462 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.434e-05/0.5758, allocations: 27.98 kB / 0.7462 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005964/0.5764, allocations: 431 kB / 0.7466 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5764, allocations: 0 / 0.7466 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008322/0.5772, allocations: 295.2 kB / 0.7469 GB, free: 7.668 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: 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.003051/0.5803, allocations: 1.952 MB / 0.7488 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001386/0.5817, allocations: 0.7359 MB / 0.7495 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5817, allocations: 0 / 0.7495 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007945/0.5825, allocations: 492.3 kB / 0.75 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.5836, allocations: 262.7 kB / 0.7502 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008906/0.5926, allocations: 4.762 MB / 0.7549 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.5932, allocations: 1.004 MB / 0.7558 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008674/0.5941, allocations: 257.9 kB / 0.7561 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000503/0.5946, allocations: 355.3 kB / 0.7564 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.5946, allocations: 4 kB / 0.7564 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/0.6396, allocations: 20.35 MB / 0.7763 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.6398, allocations: 273.4 kB / 0.7766 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/2.82, allocations: 4 kB / 0.7766 GB, free: 9.621 MB / 0.6075 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: