Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 108.8 kB / 16.36 MB, free: 6.336 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.001132/0.001132, allocations: 193.5 kB / 17.29 MB, free: 5.883 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002148, allocations: 298.1 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9182/0.9182, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 94.39 kB / 0.5966 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1439, allocations: 86.98 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00568/0.1496, allocations: 4.435 MB / 0.6859 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3896/0.5392, allocations: 150.6 MB / 0.833 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005809/0.5398, allocations: 15.94 kB / 0.833 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.5403, allocations: 176.2 kB / 0.8331 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.5416, allocations: 0.5138 MB / 0.8336 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.5433, allocations: 0.8402 MB / 0.8345 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00108/0.5444, allocations: 1.346 MB / 0.8358 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007921/0.5452, allocations: 0.6454 MB / 0.8364 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004857/0.5457, allocations: 494.2 kB / 0.8369 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004947/0.5462, allocations: 0.5017 MB / 0.8374 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.5464, allocations: 120 kB / 0.8375 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006879/0.5471, allocations: 479.6 kB / 0.8379 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.5473, allocations: 303 kB / 0.8382 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.5478, allocations: 0.5518 MB / 0.8388 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.5492, allocations: 1.631 MB / 0.8404 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5492, allocations: 4 kB / 0.8404 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5492, allocations: 0 / 0.8404 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.5492, allocations: 0 / 0.8404 GB, free: 11.9 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002257/0.5515, allocations: 1.443 MB / 0.8418 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.5515, allocations: 8.031 kB / 0.8418 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.5527, allocations: 236.2 kB / 0.842 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.5537, allocations: 0.7736 MB / 0.8428 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.5538, allocations: 66 kB / 0.8428 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.5539, allocations: 84 kB / 0.8429 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.5555, allocations: 0.9911 MB / 0.8439 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.5555, allocations: 1.031 kB / 0.8439 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.371e-05/0.5556, allocations: 36 kB / 0.8439 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.5556, allocations: 24 kB / 0.8439 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.5575, allocations: 1.167 MB / 0.8451 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003751/0.5612, allocations: 2.791 MB / 0.8478 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.5629, allocations: 0.9489 MB / 0.8487 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005228/0.5634, allocations: 310.7 kB / 0.849 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.52e-05/0.5635, allocations: 32.59 kB / 0.8491 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007774/0.5643, allocations: 0.5001 MB / 0.8495 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=83): time 2.044e-06/0.5643, allocations: 0 / 0.8495 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.003056/0.5674, allocations: 1.22 MB / 0.8507 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.631e-05/0.5675, allocations: 196.9 kB / 0.8509 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006829/0.5682, allocations: 0.6331 MB / 0.8515 GB, free: 132 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.432e-05/0.5683, allocations: 45.7 kB / 0.8516 GB, free: 80 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.5685, allocations: 408.2 kB / 0.852 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.5687, allocations: 272.1 kB / 0.8522 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.569, allocations: 166.5 kB / 0.8524 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5691, allocations: 390.7 kB / 0.8528 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.5697, allocations: 269.9 kB / 0.853 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.5703, allocations: 393.6 kB / 0.8534 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.5716, allocations: 0.6384 MB / 0.854 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5716, allocations: 0 / 0.854 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002011/0.5736, allocations: 0.8876 MB / 0.8549 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5736, allocations: 8 kB / 0.8549 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5737, allocations: 3.984 kB / 0.8549 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005824/0.5742, allocations: 84.95 kB / 0.855 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006848/0.5749, allocations: 167.8 kB / 0.8551 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.577, allocations: 1.628 MB / 0.8567 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006814/0.5777, allocations: 91.97 kB / 0.8568 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.577e-05/0.5778, allocations: 39.97 kB / 0.8569 GB, free: 10.45 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * 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.0003496/0.5781, allocations: 283.5 kB / 0.8571 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.5783, allocations: 82.97 kB / 0.8572 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/0.5806, allocations: 1.082 MB / 0.8583 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.5806, allocations: 15.94 kB / 0.8583 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.5806, allocations: 0 / 0.8583 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.5806, allocations: 7.969 kB / 0.8583 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.584, allocations: 2.084 MB / 0.8603 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.584, allocations: 4 kB / 0.8603 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/0.5846, allocations: 147.8 kB / 0.8605 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004269/0.585, allocations: 72.78 kB / 0.8605 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.5851, allocations: 31.91 kB / 0.8606 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.5869, allocations: 1.658 MB / 0.8622 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5869, allocations: 0 / 0.8622 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.5888, allocations: 1.014 MB / 0.8632 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/0.5892, allocations: 271.7 kB / 0.8634 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.5893, allocations: 19.91 kB / 0.8634 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.59, allocations: 70.88 kB / 0.8635 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.5901, allocations: 68.91 kB / 0.8636 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.127e-05/0.5902, allocations: 39.97 kB / 0.8636 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005116/0.5907, allocations: 463 kB / 0.8641 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.473e-06/0.5907, allocations: 0 / 0.8641 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008109/0.5915, allocations: 315.3 kB / 0.8644 GB, free: 2.488 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001233/0.5928, allocations: 0.6131 MB / 0.865 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.5944, allocations: 0.8627 MB / 0.8658 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5944, allocations: 0 / 0.8658 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000891/0.5953, allocations: 0.5236 MB / 0.8663 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.5965, allocations: 301 kB / 0.8666 GB, free: 376 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.6, allocations: 1.776 MB / 0.8683 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.6005, allocations: 1.035 MB / 0.8693 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007263/0.6013, allocations: 278.8 kB / 0.8696 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.6015, allocations: 111.4 kB / 0.8697 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of SimCode: time 4.71e-07/0.6015, allocations: 0 / 0.8697 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of Templates: time 0.02278/0.6243, allocations: 15.33 MB / 0.8847 GB, free: 13.96 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)