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.0008896/0.0008896, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009819/0.0009818, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7127/0.7127, allocations: 132.4 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002808, allocations: 8.906 kB / 0.5034 GB, free: 4.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.345, allocations: 81.57 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.003477/0.3485, allocations: 3.605 MB / 0.5866 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1354/0.4839, allocations: 136.7 MB / 0.7201 GB, free: 3.953 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.4843, allocations: 15.88 kB / 0.7201 GB, free: 3.938 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.4847, allocations: 123 kB / 0.7202 GB, free: 3.816 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008675/0.4855, allocations: 397 kB / 0.7206 GB, free: 3.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.4867, allocations: 0.6142 MB / 0.7212 GB, free: 2.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008451/0.4876, allocations: 1.043 MB / 0.7222 GB, free: 1.773 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000591/0.4882, allocations: 491.2 kB / 0.7227 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003401/0.4885, allocations: 302.6 kB / 0.723 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/0.4889, allocations: 331.9 kB / 0.7233 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.009e-05/0.4889, allocations: 20 kB / 0.7233 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004769/0.4894, allocations: 327.7 kB / 0.7236 GB, free: 324 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.4896, allocations: 167.2 kB / 0.7238 GB, free: 156 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.4897, allocations: 185.2 kB / 0.724 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008704/0.4906, allocations: 1.072 MB / 0.725 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4906, allocations: 0 / 0.725 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4906, allocations: 0 / 0.725 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.4906, allocations: 4 kB / 0.725 GB, free: 14.89 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.001601/0.4922, allocations: 1.16 MB / 0.7261 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/0.4923, allocations: 11.97 kB / 0.7262 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.4933, allocations: 250.4 kB / 0.7264 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008316/0.4942, allocations: 0.6798 MB / 0.7271 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.4942, allocations: 61.94 kB / 0.7271 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.559e-05/0.4943, allocations: 84 kB / 0.7272 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.4957, allocations: 0.9169 MB / 0.7281 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.4958, allocations: 3.984 kB / 0.7281 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.136e-05/0.4959, allocations: 40 kB / 0.7281 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.4959, allocations: 23.95 kB / 0.7282 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.4976, allocations: 1.124 MB / 0.7293 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.5009, allocations: 2.707 MB / 0.7319 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.5023, allocations: 0.8728 MB / 0.7327 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.5028, allocations: 282.3 kB / 0.733 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-05/0.5028, allocations: 36.67 kB / 0.7331 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006535/0.5035, allocations: 431.3 kB / 0.7335 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 1.943e-06/0.5035, allocations: 0 / 0.7335 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.002518/0.506, allocations: 1.1 MB / 0.7345 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.5061, allocations: 192.6 kB / 0.7347 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/0.5067, allocations: 0.5823 MB / 0.7353 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.5068, allocations: 37.7 kB / 0.7353 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.5071, allocations: 392.1 kB / 0.7357 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.5072, allocations: 252.4 kB / 0.7359 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.5073, allocations: 8 kB / 0.7359 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5074, allocations: 390.7 kB / 0.7363 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004319/0.5078, allocations: 245.8 kB / 0.7366 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/0.5084, allocations: 349.7 kB / 0.7369 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.5088, allocations: 286.9 kB / 0.7372 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5089, allocations: 0 / 0.7372 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001567/0.5104, allocations: 0.8058 MB / 0.7379 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.5105, allocations: 8 kB / 0.738 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.5105, allocations: 3.984 kB / 0.738 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005301/0.511, allocations: 80.97 kB / 0.738 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.5116, allocations: 155.8 kB / 0.7382 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.5133, allocations: 1.531 MB / 0.7397 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/0.5138, allocations: 95.3 kB / 0.7398 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.5139, allocations: 36.03 kB / 0.7398 GB, free: 15.2 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002994/0.5142, allocations: 253.7 kB / 0.74 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.579e-05/0.5143, allocations: 75.06 kB / 0.7401 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.5164, allocations: 1.002 MB / 0.7411 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.5164, allocations: 8 kB / 0.7411 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.5164, allocations: 0 / 0.7411 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.5164, allocations: 3.984 kB / 0.7411 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.5193, allocations: 1.93 MB / 0.743 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5193, allocations: 4 kB / 0.743 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.5198, allocations: 143.8 kB / 0.7431 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004351/0.5203, allocations: 88.77 kB / 0.7432 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.5203, allocations: 19.98 kB / 0.7432 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.5219, allocations: 1.544 MB / 0.7447 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5219, allocations: 0 / 0.7447 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.5235, allocations: 0.9258 MB / 0.7457 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.5238, allocations: 267.8 kB / 0.7459 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/0.5239, allocations: 19.95 kB / 0.7459 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005182/0.5245, allocations: 73.91 kB / 0.746 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.5246, allocations: 64.91 kB / 0.7461 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.678e-05/0.5246, allocations: 27.98 kB / 0.7461 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004456/0.5251, allocations: 423 kB / 0.7465 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5251, allocations: 0 / 0.7465 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007295/0.5258, allocations: 295.3 kB / 0.7468 GB, free: 7.793 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/0.527, allocations: 0.5795 MB / 0.7473 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.5283, allocations: 0.7769 MB / 0.7481 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5283, allocations: 4 kB / 0.7481 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007427/0.5291, allocations: 496.2 kB / 0.7486 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.5302, allocations: 261.7 kB / 0.7488 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.5334, allocations: 2.074 MB / 0.7508 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.5339, allocations: 0.9997 MB / 0.7518 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000731/0.5347, allocations: 258 kB / 0.7521 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.5349, allocations: 95.38 kB / 0.7522 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.5349, allocations: 0 / 0.7522 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of Templates: time 0.0189/0.5538, allocations: 13.23 MB / 0.7651 GB, free: 5.344 MB / 0.5919 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)