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.0007684/0.0007684, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.004448/0.004448, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.218/1.218, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7112/0.7112, allocations: 132.3 MB / 423.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002963, allocations: 8 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3386, allocations: 81.58 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00369/0.3424, allocations: 3.797 MB / 0.5875 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1385/0.4808, allocations: 146.6 MB / 0.7306 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004111/0.4813, allocations: 15.88 kB / 0.7306 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.4817, allocations: 139 kB / 0.7307 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000948/0.4827, allocations: 397 kB / 0.7311 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.4841, allocations: 0.7065 MB / 0.7318 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009064/0.485, allocations: 1.124 MB / 0.7329 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007272/0.4857, allocations: 0.6135 MB / 0.7335 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.4861, allocations: 310.5 kB / 0.7338 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.4865, allocations: 342 kB / 0.7341 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.089e-05/0.4865, allocations: 20 kB / 0.7342 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.4871, allocations: 363.6 kB / 0.7345 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.4872, allocations: 171.2 kB / 0.7347 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.4875, allocations: 427 kB / 0.7351 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.4886, allocations: 1.374 MB / 0.7364 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4887, allocations: 0 / 0.7364 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4887, allocations: 0 / 0.7364 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.4887, allocations: 4 kB / 0.7364 GB, free: 3.48 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.00168/0.4904, allocations: 1.147 MB / 0.7375 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.4904, allocations: 12.03 kB / 0.7376 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.4906, allocations: 131.3 kB / 0.7377 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.4917, allocations: 247.4 kB / 0.7379 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008593/0.4926, allocations: 0.7225 MB / 0.7386 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.4926, allocations: 62 kB / 0.7387 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.4927, allocations: 76 kB / 0.7387 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.4942, allocations: 0.9326 MB / 0.7397 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.4942, allocations: 0 / 0.7397 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.4943, allocations: 32.08 kB / 0.7397 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.4943, allocations: 20 kB / 0.7397 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.496, allocations: 1.135 MB / 0.7408 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003427/0.4995, allocations: 2.715 MB / 0.7435 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.501, allocations: 0.8819 MB / 0.7443 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/0.5015, allocations: 282.7 kB / 0.7446 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.091e-05/0.5016, allocations: 36.67 kB / 0.7446 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007064/0.5023, allocations: 431.2 kB / 0.745 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 1.834e-06/0.5023, allocations: 4 kB / 0.745 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.002725/0.505, allocations: 1.1 MB / 0.7461 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.5051, allocations: 188.6 kB / 0.7463 GB, free: 9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006169/0.5057, allocations: 0.5901 MB / 0.7469 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.492e-05/0.5058, allocations: 41.7 kB / 0.7469 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.506, allocations: 392.1 kB / 0.7473 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.5062, allocations: 244.4 kB / 0.7475 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.051e-05/0.5063, allocations: 57.69 kB / 0.7476 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5064, allocations: 382.7 kB / 0.7479 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/0.5068, allocations: 225.2 kB / 0.7482 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.5074, allocations: 349.4 kB / 0.7485 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009266/0.5083, allocations: 0.5653 MB / 0.749 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5083, allocations: 0 / 0.749 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001575/0.5099, allocations: 0.751 MB / 0.7498 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5099, allocations: 6.188 kB / 0.7498 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5099, allocations: 4 kB / 0.7498 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/0.5105, allocations: 88.86 kB / 0.7499 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/0.5111, allocations: 147.7 kB / 0.75 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.5129, allocations: 1.52 MB / 0.7515 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/0.5135, allocations: 87.39 kB / 0.7516 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.5135, allocations: 31.98 kB / 0.7516 GB, free: 3.32 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 (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.0003082/0.5138, allocations: 249.8 kB / 0.7519 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.5139, allocations: 86.98 kB / 0.7519 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.516, allocations: 0.9947 MB / 0.7529 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.516, allocations: 8 kB / 0.7529 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.516, allocations: 0 / 0.7529 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.5161, allocations: 3.984 kB / 0.7529 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/0.5189, allocations: 1.942 MB / 0.7548 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5189, allocations: 0 / 0.7548 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/0.5195, allocations: 143.8 kB / 0.755 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004869/0.52, allocations: 84.77 kB / 0.755 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.52, allocations: 23.98 kB / 0.7551 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.5217, allocations: 1.552 MB / 0.7566 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5217, allocations: 4 kB / 0.7566 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.5233, allocations: 0.9219 MB / 0.7575 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.5236, allocations: 267.7 kB / 0.7577 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/0.5237, allocations: 23.94 kB / 0.7578 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.5243, allocations: 67.94 kB / 0.7578 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.5244, allocations: 64.91 kB / 0.7579 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/0.5245, allocations: 27.98 kB / 0.7579 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004498/0.5249, allocations: 431 kB / 0.7583 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5249, allocations: 0 / 0.7583 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007091/0.5257, allocations: 295.2 kB / 0.7586 GB, free: 11.89 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.002974/0.5286, allocations: 1.972 MB / 0.7605 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.53, allocations: 0.7475 MB / 0.7613 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.53, allocations: 4 kB / 0.7613 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007678/0.5308, allocations: 492.3 kB / 0.7617 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.532, allocations: 268.9 kB / 0.762 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.5423, allocations: 6.62 MB / 0.7684 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.5428, allocations: 1.003 MB / 0.7694 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007392/0.5435, allocations: 265.9 kB / 0.7697 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004481/0.544, allocations: 359.3 kB / 0.77 GB, free: 200 kB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.544, allocations: 0 / 0.77 GB, free: 200 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3218/0.8658, allocations: 19.25 MB / 0.7888 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/0.8661, allocations: 289.4 kB / 0.7891 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/3.14, allocations: 0 / 0.7891 GB, free: 12.96 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)