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.005086/0.005086, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.001286/0.001286, allocations: 193.8 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.857/0.857, allocations: 135.5 MB / 426.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 78.34 kB / 0.5857 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1562, allocations: 81.01 MB / 0.6648 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006211/0.1624, allocations: 4.185 MB / 0.6689 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.466/0.6284, allocations: 150.5 MB / 0.8159 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000729/0.6292, allocations: 20.25 kB / 0.8159 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004957/0.6297, allocations: 165.3 kB / 0.8161 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.6313, allocations: 491.1 kB / 0.8165 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.6331, allocations: 0.803 MB / 0.8173 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001253/0.6343, allocations: 1.215 MB / 0.8185 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007668/0.6351, allocations: 0.6425 MB / 0.8191 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006567/0.6358, allocations: 442.5 kB / 0.8196 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004824/0.6363, allocations: 456.6 kB / 0.82 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.6364, allocations: 104.7 kB / 0.8201 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007903/0.6372, allocations: 476.7 kB / 0.8205 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.6374, allocations: 274.5 kB / 0.8208 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005624/0.638, allocations: 0.5096 MB / 0.8213 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.6397, allocations: 1.506 MB / 0.8228 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.6397, allocations: 1.438 kB / 0.8228 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.336e-06/0.6397, allocations: 0 / 0.8228 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.07e-05/0.6398, allocations: 0 / 0.8228 GB, free: 4.852 MB / 0.5919 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.00231/0.6421, allocations: 1.391 MB / 0.8241 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.6422, allocations: 14.95 kB / 0.8242 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.6423, allocations: 135.2 kB / 0.8243 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.6435, allocations: 223.8 kB / 0.8245 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.6448, allocations: 0.7547 MB / 0.8252 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.6448, allocations: 65.28 kB / 0.8253 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.6449, allocations: 74.28 kB / 0.8254 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.6467, allocations: 0.9252 MB / 0.8263 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.6467, allocations: 0 / 0.8263 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.982e-05/0.6468, allocations: 33.69 kB / 0.8263 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.6468, allocations: 20.56 kB / 0.8263 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.6487, allocations: 1.117 MB / 0.8274 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004166/0.6528, allocations: 2.654 MB / 0.83 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.6546, allocations: 0.8614 MB / 0.8308 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.6551, allocations: 287.7 kB / 0.8311 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.471e-05/0.6552, allocations: 28.88 kB / 0.8311 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008721/0.6561, allocations: 425.5 kB / 0.8316 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=74): time 2.474e-06/0.6561, allocations: 4 kB / 0.8316 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74): time 0.00296/0.659, allocations: 1.1 MB / 0.8326 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.6592, allocations: 190.4 kB / 0.8328 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008358/0.66, allocations: 0.5906 MB / 0.8334 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.888e-05/0.6601, allocations: 40.2 kB / 0.8334 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.6604, allocations: 393.1 kB / 0.8338 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.6607, allocations: 256.3 kB / 0.834 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.6609, allocations: 140.2 kB / 0.8342 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.6611, allocations: 384.1 kB / 0.8345 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005247/0.6616, allocations: 219.9 kB / 0.8348 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.6622, allocations: 343.4 kB / 0.8351 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009917/0.6632, allocations: 0.5601 MB / 0.8356 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6632, allocations: 0 / 0.8356 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001882/0.6651, allocations: 0.7456 MB / 0.8364 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.6651, allocations: 7.25 kB / 0.8364 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6651, allocations: 0 / 0.8364 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006296/0.6658, allocations: 81.84 kB / 0.8364 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.6665, allocations: 148.2 kB / 0.8366 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.6687, allocations: 1.633 MB / 0.8382 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006191/0.6694, allocations: 77.03 kB / 0.8383 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.6694, allocations: 27.89 kB / 0.8383 GB, free: 9.617 MB / 0.6075 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.0003967/0.6698, allocations: 261 kB / 0.8385 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.67, allocations: 81.39 kB / 0.8386 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.6724, allocations: 0.989 MB / 0.8396 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.6724, allocations: 10.28 kB / 0.8396 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6724, allocations: 3.938 kB / 0.8396 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.6725, allocations: 7.922 kB / 0.8396 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/0.6757, allocations: 1.91 MB / 0.8415 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6757, allocations: 0 / 0.8415 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/0.6764, allocations: 148.7 kB / 0.8416 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004443/0.6768, allocations: 74.25 kB / 0.8417 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/0.6769, allocations: 23.73 kB / 0.8417 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.679, allocations: 1.665 MB / 0.8433 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.679, allocations: 0 / 0.8433 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.681, allocations: 0.92 MB / 0.8442 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003653/0.6814, allocations: 261.7 kB / 0.8445 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.6815, allocations: 17.38 kB / 0.8445 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000574/0.6821, allocations: 57.69 kB / 0.8445 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.6822, allocations: 58.52 kB / 0.8446 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/0.6823, allocations: 28.8 kB / 0.8446 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005951/0.6829, allocations: 435.6 kB / 0.845 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6829, allocations: 0 / 0.845 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007486/0.6836, allocations: 296.1 kB / 0.8453 GB, free: 4.59 MB / 0.6075 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.004123/0.6878, allocations: 1.966 MB / 0.8472 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.6896, allocations: 0.7446 MB / 0.848 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6896, allocations: 0 / 0.848 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009303/0.6905, allocations: 488.3 kB / 0.8484 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.6919, allocations: 304.6 kB / 0.8487 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.7033, allocations: 5.996 MB / 0.8546 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.704, allocations: 0.9994 MB / 0.8556 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008299/0.7048, allocations: 258.2 kB / 0.8558 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005777/0.7054, allocations: 359.3 kB / 0.8561 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.7054, allocations: 3.938 kB / 0.8561 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3657/1.071, allocations: 20.49 MB / 0.8762 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/15.02, allocations: 9.938 kB / 0.8762 GB, free: 5.449 MB / 0.6387 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/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)