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: translateModel(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.006337/0.006337, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001219/0.001219, allocations: 197.4 kB / 16.67 MB, free: 5.977 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9258/0.9258, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 67.91 kB / 0.5856 GB, free: 3.355 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.426, allocations: 80.9 MB / 0.6646 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005868/0.4319, allocations: 4.189 MB / 0.6687 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1919/0.6238, allocations: 150.5 MB / 0.8157 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008373/0.6247, allocations: 19.88 kB / 0.8157 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005782/0.6253, allocations: 170.5 kB / 0.8159 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.6269, allocations: 487.7 kB / 0.8163 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.629, allocations: 0.8167 MB / 0.8171 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001308/0.6303, allocations: 1.21 MB / 0.8183 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008663/0.6312, allocations: 0.6449 MB / 0.8189 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005564/0.6317, allocations: 454.4 kB / 0.8194 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005019/0.6322, allocations: 453.9 kB / 0.8198 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.6324, allocations: 104 kB / 0.8199 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008603/0.6333, allocations: 483.5 kB / 0.8204 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.6335, allocations: 267.1 kB / 0.8206 GB, free: 1.305 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004178/0.6339, allocations: 0.5051 MB / 0.8211 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.6356, allocations: 1.501 MB / 0.8226 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6356, allocations: 0 / 0.8226 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6356, allocations: 4 kB / 0.8226 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.6356, allocations: 3.938 kB / 0.8226 GB, free: 15.29 MB / 0.6544 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.002068/0.6377, allocations: 1.346 MB / 0.8239 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.6378, allocations: 8.031 kB / 0.8239 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.6389, allocations: 223.4 kB / 0.8241 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.64, allocations: 0.7383 MB / 0.8248 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/0.6401, allocations: 58 kB / 0.8249 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.6402, allocations: 80 kB / 0.825 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.6417, allocations: 0.9286 MB / 0.8259 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.6417, allocations: 0 / 0.8259 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-05/0.6418, allocations: 40 kB / 0.8259 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.6419, allocations: 20 kB / 0.8259 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.6437, allocations: 1.116 MB / 0.827 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00379/0.6475, allocations: 2.645 MB / 0.8296 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.6491, allocations: 0.8554 MB / 0.8304 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.6496, allocations: 286.6 kB / 0.8307 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.372e-05/0.6497, allocations: 24.62 kB / 0.8307 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007592/0.6505, allocations: 439.2 kB / 0.8312 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=74): time 4.218e-06/0.6505, allocations: 0 / 0.8312 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74): time 0.002876/0.6534, allocations: 1.084 MB / 0.8322 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.6535, allocations: 192.6 kB / 0.8324 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007625/0.6543, allocations: 0.59 MB / 0.833 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/0.6543, allocations: 41.7 kB / 0.833 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.6546, allocations: 384.2 kB / 0.8334 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.6548, allocations: 248.4 kB / 0.8336 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.6551, allocations: 158.5 kB / 0.8338 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.6553, allocations: 382.7 kB / 0.8341 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/0.6557, allocations: 237.9 kB / 0.8344 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005654/0.6563, allocations: 353.7 kB / 0.8347 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.6573, allocations: 0.5902 MB / 0.8353 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.6573, allocations: 0 / 0.8353 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001822/0.6592, allocations: 0.8057 MB / 0.8361 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.6592, allocations: 4 kB / 0.8361 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.6592, allocations: 0 / 0.8361 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/0.6598, allocations: 88.91 kB / 0.8361 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.6605, allocations: 155.8 kB / 0.8363 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.6625, allocations: 1.626 MB / 0.8379 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006076/0.6631, allocations: 82.47 kB / 0.838 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.6632, allocations: 44.03 kB / 0.838 GB, free: 14.91 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (88): * Single equations (assignments): 87 * 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.0004078/0.6636, allocations: 255.2 kB / 0.8382 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.6637, allocations: 79.11 kB / 0.8383 GB, free: 14.58 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.6658, allocations: 0.983 MB / 0.8393 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.6658, allocations: 8 kB / 0.8393 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6658, allocations: 3.938 kB / 0.8393 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.6658, allocations: 3.984 kB / 0.8393 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.6689, allocations: 1.916 MB / 0.8412 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.6689, allocations: 4 kB / 0.8412 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.6694, allocations: 143.8 kB / 0.8413 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004237/0.6699, allocations: 64.8 kB / 0.8414 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/0.6699, allocations: 31.92 kB / 0.8414 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.6718, allocations: 1.658 MB / 0.843 GB, free: 9.527 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6718, allocations: 0 / 0.843 GB, free: 9.527 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.6736, allocations: 0.9199 MB / 0.8439 GB, free: 8.59 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.6739, allocations: 251.8 kB / 0.8442 GB, free: 8.324 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.424e-05/0.674, allocations: 16 kB / 0.8442 GB, free: 8.309 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/0.6745, allocations: 55.94 kB / 0.8442 GB, free: 8.254 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.6747, allocations: 60.86 kB / 0.8443 GB, free: 8.191 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.389e-05/0.6747, allocations: 31.97 kB / 0.8443 GB, free: 8.16 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005082/0.6753, allocations: 431.1 kB / 0.8447 GB, free: 7.746 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6753, allocations: 0 / 0.8447 GB, free: 7.746 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008139/0.6761, allocations: 303.2 kB / 0.845 GB, free: 7.449 MB / 0.67 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.001276/0.6774, allocations: 0.5911 MB / 0.8456 GB, free: 7.027 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.6789, allocations: 0.7769 MB / 0.8464 GB, free: 6.242 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6789, allocations: 0 / 0.8464 GB, free: 6.242 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008299/0.6797, allocations: 488.3 kB / 0.8468 GB, free: 5.75 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.6809, allocations: 305.8 kB / 0.8471 GB, free: 5.473 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/0.6843, allocations: 1.657 MB / 0.8487 GB, free: 3.785 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.6849, allocations: 1.014 MB / 0.8497 GB, free: 2.746 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007023/0.6856, allocations: 262.2 kB / 0.85 GB, free: 2.484 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.6859, allocations: 99.39 kB / 0.8501 GB, free: 2.387 MB / 0.67 GB Notification: Performance of SimCode: time 3.4e-07/0.6859, allocations: 0 / 0.8501 GB, free: 2.387 MB / 0.67 GB Notification: Performance of Templates: time 0.02356/0.7094, allocations: 14.41 MB / 0.8641 GB, free: 4.121 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)