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.005845/0.005845, allocations: 101.7 kB / 15.73 MB, free: 5.59 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: 191.7 kB / 16.67 MB, free: 5.523 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.361/1.361, 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.8168/0.8168, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 65.38 kB / 0.5851 GB, free: 22.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1635, allocations: 80.92 MB / 0.6641 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005835/0.1694, allocations: 4.193 MB / 0.6682 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.573/0.7424, allocations: 150.5 MB / 0.8152 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.7437, allocations: 17.19 kB / 0.8152 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.7448, allocations: 171.3 kB / 0.8154 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.7472, allocations: 481.7 kB / 0.8158 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.7499, allocations: 0.8118 MB / 0.8166 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002418/0.7524, allocations: 1.217 MB / 0.8178 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.7538, allocations: 0.632 MB / 0.8184 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.755, allocations: 457 kB / 0.8189 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.7561, allocations: 458.8 kB / 0.8193 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004313/0.7565, allocations: 104.8 kB / 0.8194 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.758, allocations: 476.8 kB / 0.8199 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005141/0.7586, allocations: 275.2 kB / 0.8201 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.7597, allocations: 0.5019 MB / 0.8206 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002625/0.7623, allocations: 1.509 MB / 0.8221 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7623, allocations: 2.438 kB / 0.8221 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7623, allocations: 3.75 kB / 0.8221 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.7624, allocations: 4 kB / 0.8221 GB, free: 5.723 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.00227/0.7646, allocations: 1.345 MB / 0.8234 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.7647, allocations: 10.83 kB / 0.8234 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/0.7649, allocations: 135.1 kB / 0.8235 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.766, allocations: 223.1 kB / 0.8238 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.767, allocations: 0.7346 MB / 0.8245 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/0.7671, allocations: 59.12 kB / 0.8245 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.7672, allocations: 86.58 kB / 0.8246 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.7686, allocations: 0.9191 MB / 0.8255 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.7687, allocations: 3.938 kB / 0.8255 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-05/0.7688, allocations: 38.19 kB / 0.8256 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.7688, allocations: 19.81 kB / 0.8256 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.7706, allocations: 1.114 MB / 0.8267 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003883/0.7745, allocations: 2.652 MB / 0.8293 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.776, allocations: 0.8512 MB / 0.8301 GB, free: 24 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/0.7765, allocations: 283.7 kB / 0.8304 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.57e-05/0.7766, allocations: 29.39 kB / 0.8304 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006974/0.7773, allocations: 433.1 kB / 0.8308 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=74): time 2.355e-06/0.7773, allocations: 3.938 kB / 0.8308 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74): time 0.002901/0.7802, allocations: 1.09 MB / 0.8319 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.7803, allocations: 194.8 kB / 0.8321 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007075/0.7811, allocations: 0.5909 MB / 0.8326 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.7811, allocations: 35.52 kB / 0.8327 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.7814, allocations: 396.5 kB / 0.833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.7816, allocations: 246.4 kB / 0.8333 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.7819, allocations: 136.1 kB / 0.8334 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.7821, allocations: 388.5 kB / 0.8338 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.7825, allocations: 216.2 kB / 0.834 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005126/0.783, allocations: 339.6 kB / 0.8343 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009453/0.784, allocations: 0.5595 MB / 0.8349 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.784, allocations: 0 / 0.8349 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001643/0.7856, allocations: 0.7379 MB / 0.8356 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.7856, allocations: 8.922 kB / 0.8356 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.7857, allocations: 1.844 kB / 0.8356 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006458/0.7863, allocations: 86.25 kB / 0.8357 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000576/0.7869, allocations: 147.2 kB / 0.8358 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.7893, allocations: 1.627 MB / 0.8374 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006725/0.79, allocations: 85.02 kB / 0.8375 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.7901, allocations: 27.8 kB / 0.8375 GB, free: 10.57 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.0004658/0.7905, allocations: 249.2 kB / 0.8377 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.7907, allocations: 80.64 kB / 0.8378 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.7929, allocations: 0.9863 MB / 0.8388 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.7929, allocations: 10.09 kB / 0.8388 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7929, allocations: 3.938 kB / 0.8388 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.7929, allocations: 7.984 kB / 0.8388 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.7962, allocations: 1.914 MB / 0.8407 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7962, allocations: 3.938 kB / 0.8407 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/0.7968, allocations: 142.6 kB / 0.8408 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004274/0.7972, allocations: 82.62 kB / 0.8409 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/0.7973, allocations: 18.83 kB / 0.8409 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.7992, allocations: 1.662 MB / 0.8425 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7993, allocations: 0 / 0.8425 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.8012, allocations: 0.9219 MB / 0.8434 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.8016, allocations: 253.1 kB / 0.8437 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.622e-05/0.8017, allocations: 16.91 kB / 0.8437 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005333/0.8022, allocations: 48.86 kB / 0.8437 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.8023, allocations: 61.28 kB / 0.8438 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.219e-05/0.8024, allocations: 38.39 kB / 0.8438 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005543/0.803, allocations: 432.6 kB / 0.8442 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.803, allocations: 0 / 0.8442 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008627/0.8038, allocations: 280.8 kB / 0.8445 GB, free: 5.578 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.003388/0.8072, allocations: 1.972 MB / 0.8464 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.8089, allocations: 0.7326 MB / 0.8471 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.8089, allocations: 4 kB / 0.8472 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008615/0.8098, allocations: 0.4888 MB / 0.8476 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.811, allocations: 298.4 kB / 0.8479 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.8213, allocations: 5.96 MB / 0.8537 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006424/0.822, allocations: 1.011 MB / 0.8547 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009376/0.823, allocations: 254.3 kB / 0.855 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005808/0.8235, allocations: 359.2 kB / 0.8553 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of SimCode: time 1.493e-06/0.8236, allocations: 0 / 0.8553 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0818/0.9054, allocations: 20.47 MB / 0.8753 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.47, allocations: 13.31 kB / 0.8753 GB, free: 6.66 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)