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.005366/0.005366, allocations: 103.7 kB / 15.73 MB, free: 5.996 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.001255/0.001255, allocations: 187.5 kB / 16.67 MB, free: 5.934 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7549/0.7549, allocations: 132.2 MB / 422.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 61.62 kB / 0.5808 GB, free: 1.145 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1653, allocations: 80.21 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006294/0.1716, allocations: 4.192 MB / 0.6633 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1562/0.3278, allocations: 150.5 MB / 0.8102 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007552/0.3286, allocations: 19.88 kB / 0.8102 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.3293, allocations: 170.4 kB / 0.8104 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.3309, allocations: 494 kB / 0.8109 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.3327, allocations: 0.799 MB / 0.8116 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001333/0.334, allocations: 1.222 MB / 0.8128 GB, free: 56 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3786/0.7127, allocations: 0.6246 MB / 0.8134 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008656/0.7136, allocations: 448.2 kB / 0.8139 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006748/0.7142, allocations: 460.9 kB / 0.8143 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.7144, allocations: 104.3 kB / 0.8144 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.7156, allocations: 478.5 kB / 0.8149 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.7159, allocations: 271.1 kB / 0.8151 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005316/0.7164, allocations: 0.5098 MB / 0.8156 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.7188, allocations: 1.499 MB / 0.8171 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7188, allocations: 1.219 kB / 0.8171 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7188, allocations: 0 / 0.8171 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.205e-05/0.7188, allocations: 0 / 0.8171 GB, free: 3.32 MB / 0.6387 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.002912/0.7217, allocations: 1.353 MB / 0.8184 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.7218, allocations: 11.19 kB / 0.8184 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.722, allocations: 133.3 kB / 0.8186 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.7233, allocations: 224.1 kB / 0.8188 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.7247, allocations: 0.7331 MB / 0.8195 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.153e-05/0.7248, allocations: 64.19 kB / 0.8195 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.7249, allocations: 80.34 kB / 0.8196 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.7268, allocations: 0.9213 MB / 0.8205 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.7268, allocations: 3 kB / 0.8205 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/0.7269, allocations: 37.44 kB / 0.8206 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.727, allocations: 21.12 kB / 0.8206 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.7288, allocations: 1.114 MB / 0.8217 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003716/0.7325, allocations: 2.645 MB / 0.8242 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.7341, allocations: 0.8632 MB / 0.8251 GB, free: 16.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.7346, allocations: 283.6 kB / 0.8254 GB, free: 16.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.218e-05/0.7347, allocations: 32 kB / 0.8254 GB, free: 16.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006581/0.7353, allocations: 435.8 kB / 0.8258 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=74): time 2.294e-06/0.7353, allocations: 0 / 0.8258 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74): time 0.002861/0.7382, allocations: 1.083 MB / 0.8269 GB, free: 16.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.7383, allocations: 191.4 kB / 0.827 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007533/0.7391, allocations: 0.5953 MB / 0.8276 GB, free: 16.26 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.11e-05/0.7392, allocations: 41.7 kB / 0.8277 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.7394, allocations: 385.5 kB / 0.828 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.7396, allocations: 248.1 kB / 0.8283 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.7398, allocations: 139.9 kB / 0.8284 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.74, allocations: 386 kB / 0.8288 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/0.7404, allocations: 218.4 kB / 0.829 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.7409, allocations: 343.4 kB / 0.8293 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.7419, allocations: 0.5563 MB / 0.8299 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.7419, allocations: 0 / 0.8299 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001716/0.7436, allocations: 0.7464 MB / 0.8306 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.7437, allocations: 5.5 kB / 0.8306 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.7437, allocations: 2.75 kB / 0.8306 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/0.7443, allocations: 89.61 kB / 0.8307 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.7449, allocations: 139.3 kB / 0.8308 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.7468, allocations: 1.637 MB / 0.8324 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.7475, allocations: 81.12 kB / 0.8325 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.7475, allocations: 25.56 kB / 0.8325 GB, free: 13.87 MB / 0.6544 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.0004153/0.748, allocations: 259.3 kB / 0.8328 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.7481, allocations: 77.72 kB / 0.8328 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.7502, allocations: 0.9899 MB / 0.8338 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.7503, allocations: 9.078 kB / 0.8338 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.7503, allocations: 0.6875 kB / 0.8338 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.7503, allocations: 8.766 kB / 0.8338 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/0.7531, allocations: 1.928 MB / 0.8357 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.7532, allocations: 0 / 0.8357 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.7537, allocations: 143.5 kB / 0.8358 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/0.7541, allocations: 76.88 kB / 0.8359 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.7542, allocations: 19.94 kB / 0.8359 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.7559, allocations: 1.659 MB / 0.8375 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.756, allocations: 4.844 kB / 0.8376 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.7576, allocations: 0.9173 MB / 0.8384 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.758, allocations: 253.9 kB / 0.8387 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.7581, allocations: 20.89 kB / 0.8387 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005502/0.7586, allocations: 54.38 kB / 0.8388 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.7588, allocations: 59.62 kB / 0.8388 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-05/0.7588, allocations: 35.97 kB / 0.8389 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004513/0.7593, allocations: 434.7 kB / 0.8393 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7593, allocations: 0 / 0.8393 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008252/0.7601, allocations: 290.4 kB / 0.8395 GB, free: 11.28 MB / 0.6544 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.003034/0.7632, allocations: 1.959 MB / 0.8415 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001381/0.7646, allocations: 0.7316 MB / 0.8422 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7646, allocations: 2.656 kB / 0.8422 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007586/0.7653, allocations: 0.4883 MB / 0.8427 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.7665, allocations: 303.1 kB / 0.8429 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009193/0.7757, allocations: 5.953 MB / 0.8488 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.7763, allocations: 1.005 MB / 0.8497 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008418/0.7772, allocations: 256.6 kB / 0.85 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.7776, allocations: 363.4 kB / 0.8503 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/0.7776, allocations: 0 / 0.8503 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0496/0.8272, allocations: 20.84 MB / 0.8707 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.98, allocations: 10.52 kB / 0.8707 GB, free: 2.855 MB / 0.6544 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)