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: translateModel(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001058/0.001058, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.006888/0.006888, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7899/0.7899, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003555, allocations: 8 kB / 0.504 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4972/0.4975, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005258/0.5029, allocations: 3.801 MB / 0.5874 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1776/0.6805, allocations: 146.6 MB / 0.7305 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.6818, allocations: 19.88 kB / 0.7305 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007786/0.6826, allocations: 143 kB / 0.7307 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002/0.6847, allocations: 400.8 kB / 0.731 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.6868, allocations: 0.7066 MB / 0.7317 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.6884, allocations: 1.12 MB / 0.7328 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.6895, allocations: 0.6175 MB / 0.7334 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007041/0.6903, allocations: 310.5 kB / 0.7337 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006351/0.6909, allocations: 342 kB / 0.7341 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.6911, allocations: 24 kB / 0.7341 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009713/0.692, allocations: 359.7 kB / 0.7344 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.6923, allocations: 175.1 kB / 0.7346 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004616/0.6928, allocations: 423 kB / 0.735 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.6946, allocations: 1.366 MB / 0.7363 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.6946, allocations: 4 kB / 0.7363 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6946, allocations: 0 / 0.7363 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.1e-05/0.6947, allocations: 0 / 0.7363 GB, free: 3.535 MB / 0.5606 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.002402/0.6971, allocations: 1.151 MB / 0.7375 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.6971, allocations: 8.031 kB / 0.7375 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.6985, allocations: 239.4 kB / 0.7377 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.6997, allocations: 0.7189 MB / 0.7384 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.979e-05/0.6998, allocations: 62 kB / 0.7385 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.6999, allocations: 80 kB / 0.7385 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.7017, allocations: 0.9209 MB / 0.7394 GB, free: 220 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.7018, allocations: 3.938 kB / 0.7394 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.533e-05/0.7019, allocations: 39.98 kB / 0.7395 GB, free: 176 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.7019, allocations: 24 kB / 0.7395 GB, free: 152 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.7039, allocations: 1.128 MB / 0.7406 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004419/0.7083, allocations: 2.72 MB / 0.7432 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.7101, allocations: 0.8796 MB / 0.7441 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005245/0.7106, allocations: 282.4 kB / 0.7444 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.033e-05/0.7107, allocations: 36.67 kB / 0.7444 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008926/0.7116, allocations: 435.2 kB / 0.7448 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 4.228e-06/0.7116, allocations: 7.922 kB / 0.7448 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.003097/0.7147, allocations: 1.104 MB / 0.7459 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/0.7149, allocations: 188.6 kB / 0.7461 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.716, allocations: 0.5862 MB / 0.7467 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.7162, allocations: 45.7 kB / 0.7467 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/0.7166, allocations: 392.1 kB / 0.7471 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.7169, allocations: 244.4 kB / 0.7473 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.7171, allocations: 65.67 kB / 0.7474 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.7173, allocations: 382.7 kB / 0.7477 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005867/0.7179, allocations: 245.9 kB / 0.748 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/0.7186, allocations: 353.7 kB / 0.7483 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.7198, allocations: 0.5941 MB / 0.7489 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.7198, allocations: 4 kB / 0.7489 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002026/0.7219, allocations: 0.8059 MB / 0.7497 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.7219, allocations: 4 kB / 0.7497 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.7219, allocations: 4 kB / 0.7497 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006187/0.7225, allocations: 88.84 kB / 0.7498 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.7232, allocations: 159.8 kB / 0.7499 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/0.7258, allocations: 1.512 MB / 0.7514 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007731/0.7266, allocations: 99.36 kB / 0.7515 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-05/0.7267, allocations: 35.97 kB / 0.7515 GB, free: 3.391 MB / 0.5762 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.0004775/0.7272, allocations: 257.6 kB / 0.7518 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.7274, allocations: 79 kB / 0.7519 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.7297, allocations: 0.9948 MB / 0.7528 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.7297, allocations: 15.98 kB / 0.7528 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7297, allocations: 0 / 0.7528 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.669e-06/0.7297, allocations: 3.984 kB / 0.7528 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/0.7332, allocations: 1.934 MB / 0.7547 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.7332, allocations: 0 / 0.7547 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006148/0.7338, allocations: 151.8 kB / 0.7549 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005453/0.7344, allocations: 88.7 kB / 0.755 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-05/0.7344, allocations: 23.98 kB / 0.755 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.7363, allocations: 1.54 MB / 0.7565 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7363, allocations: 0 / 0.7565 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.7383, allocations: 0.922 MB / 0.7574 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.7387, allocations: 267.7 kB / 0.7576 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.7389, allocations: 19.98 kB / 0.7577 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006749/0.7395, allocations: 77.7 kB / 0.7577 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.7397, allocations: 60.91 kB / 0.7578 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.874e-05/0.7398, allocations: 35.98 kB / 0.7578 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005589/0.7403, allocations: 423 kB / 0.7582 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7403, allocations: 0 / 0.7582 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000965/0.7413, allocations: 295.3 kB / 0.7585 GB, free: 11.96 MB / 0.5919 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.001462/0.7428, allocations: 0.5892 MB / 0.7591 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001733/0.7445, allocations: 0.7808 MB / 0.7599 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.7445, allocations: 0 / 0.7599 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008984/0.7455, allocations: 496.3 kB / 0.7603 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.7469, allocations: 276 kB / 0.7606 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.7511, allocations: 2.14 MB / 0.7627 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/0.7518, allocations: 0.9958 MB / 0.7637 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008673/0.7527, allocations: 261.4 kB / 0.7639 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.7529, allocations: 99.39 kB / 0.764 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.7529, allocations: 0 / 0.764 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of Templates: time 0.0254/0.7784, allocations: 13.63 MB / 0.7773 GB, free: 9.023 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (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 & ./IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)