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.001214/0.001214, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.193/1.193, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6932/0.6932, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.001221, allocations: 61.41 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2929, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00438/0.2973, allocations: 4.196 MB / 0.5843 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1353/0.4326, allocations: 150.5 MB / 0.7312 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006635/0.4333, allocations: 19.88 kB / 0.7313 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.4338, allocations: 162.5 kB / 0.7314 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.4351, allocations: 498.8 kB / 0.7319 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.4367, allocations: 0.7934 MB / 0.7327 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008584/0.4375, allocations: 1.206 MB / 0.7338 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007068/0.4383, allocations: 0.6412 MB / 0.7345 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004073/0.4387, allocations: 442.4 kB / 0.7349 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.4391, allocations: 461.9 kB / 0.7353 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.4392, allocations: 104 kB / 0.7354 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005775/0.4398, allocations: 439.7 kB / 0.7358 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.44, allocations: 271.1 kB / 0.7361 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003653/0.4404, allocations: 0.5051 MB / 0.7366 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.4416, allocations: 1.468 MB / 0.738 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4416, allocations: 7.938 kB / 0.738 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4416, allocations: 0 / 0.738 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.4416, allocations: 0 / 0.738 GB, free: 15.33 MB / 0.5762 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.001783/0.4434, allocations: 1.35 MB / 0.7394 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.4434, allocations: 12.03 kB / 0.7394 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.4436, allocations: 135.3 kB / 0.7395 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.4447, allocations: 219.5 kB / 0.7397 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007977/0.4455, allocations: 0.7264 MB / 0.7404 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.4455, allocations: 62 kB / 0.7405 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-05/0.4456, allocations: 80 kB / 0.7406 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.4469, allocations: 0.9131 MB / 0.7414 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.4469, allocations: 7.938 kB / 0.7415 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/0.447, allocations: 39.94 kB / 0.7415 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.447, allocations: 20 kB / 0.7415 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.4487, allocations: 1.116 MB / 0.7426 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003112/0.4518, allocations: 2.687 MB / 0.7452 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.4532, allocations: 0.8625 MB / 0.7461 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.4537, allocations: 282.7 kB / 0.7463 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.007e-05/0.4537, allocations: 28.69 kB / 0.7464 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006581/0.4544, allocations: 435.2 kB / 0.7468 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 1.744e-06/0.4544, allocations: 0 / 0.7468 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.002574/0.457, allocations: 1.084 MB / 0.7478 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.4571, allocations: 188.6 kB / 0.748 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005581/0.4576, allocations: 0.5901 MB / 0.7486 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.4577, allocations: 45.69 kB / 0.7486 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.4579, allocations: 392.1 kB / 0.749 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.4581, allocations: 244.4 kB / 0.7492 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.4582, allocations: 134.3 kB / 0.7494 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4584, allocations: 386.7 kB / 0.7497 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.4588, allocations: 217.2 kB / 0.7499 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/0.4593, allocations: 341 kB / 0.7503 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008784/0.4601, allocations: 0.5652 MB / 0.7508 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4602, allocations: 0 / 0.7508 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001542/0.4617, allocations: 0.751 MB / 0.7516 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.4617, allocations: 7.938 kB / 0.7516 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4617, allocations: 0 / 0.7516 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005296/0.4623, allocations: 88.75 kB / 0.7517 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/0.4628, allocations: 143.8 kB / 0.7518 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1744/0.6373, allocations: 1.621 MB / 0.7534 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006108/0.6379, allocations: 79.36 kB / 0.7534 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/0.638, allocations: 31.98 kB / 0.7535 GB, free: 14.92 MB / 0.5919 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (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.0003254/0.6383, allocations: 257.7 kB / 0.7537 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.6384, allocations: 75.06 kB / 0.7538 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.6403, allocations: 0.987 MB / 0.7548 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.6404, allocations: 11.94 kB / 0.7548 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.6404, allocations: 4 kB / 0.7548 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.6404, allocations: 7.922 kB / 0.7548 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.6431, allocations: 1.915 MB / 0.7567 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.6431, allocations: 0 / 0.7567 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.6436, allocations: 143.8 kB / 0.7568 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003863/0.644, allocations: 80.72 kB / 0.7569 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.644, allocations: 23.98 kB / 0.7569 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.6457, allocations: 1.658 MB / 0.7585 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6457, allocations: 0 / 0.7585 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.6473, allocations: 0.918 MB / 0.7594 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.6476, allocations: 255.8 kB / 0.7596 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.971e-05/0.6477, allocations: 16 kB / 0.7597 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005132/0.6482, allocations: 52.02 kB / 0.7597 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.6483, allocations: 64.91 kB / 0.7598 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.478e-05/0.6484, allocations: 31.98 kB / 0.7598 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004478/0.6489, allocations: 435 kB / 0.7602 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.342e-06/0.6489, allocations: 0 / 0.7602 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006565/0.6495, allocations: 299.1 kB / 0.7605 GB, free: 7.441 MB / 0.5919 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 (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.002907/0.6524, allocations: 1.953 MB / 0.7624 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.6543, allocations: 0.9307 MB / 0.7633 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6543, allocations: 0 / 0.7633 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007677/0.6551, allocations: 492.7 kB / 0.7638 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.6562, allocations: 301.5 kB / 0.7641 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008873/0.665, allocations: 6.154 MB / 0.7701 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.6655, allocations: 1.004 MB / 0.7711 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006891/0.6662, allocations: 264.8 kB / 0.7713 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004169/0.6666, allocations: 355.3 kB / 0.7717 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.6666, allocations: 0 / 0.7717 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.063/1.729, allocations: 20.23 MB / 0.7914 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/14.01, allocations: 8.047 kB / 0.7914 GB, free: 8.156 MB / 0.6231 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/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)