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.0009866/0.0009867, allocations: 98.11 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.007766/0.007766, allocations: 170.3 kB / 16.27 MB, free: 6.652 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.369/1.369, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9462/0.9462, allocations: 135.3 MB / 426.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003657, allocations: 8.281 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1836, allocations: 82.31 MB / 0.588 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005276/0.1889, allocations: 3.788 MB / 0.5917 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4749/0.6638, allocations: 146.6 MB / 0.7348 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005827/0.6645, allocations: 17.31 kB / 0.7348 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004756/0.6649, allocations: 136.2 kB / 0.735 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.6663, allocations: 404.6 kB / 0.7353 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.6681, allocations: 0.7026 MB / 0.736 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.6695, allocations: 1.129 MB / 0.7371 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008768/0.6704, allocations: 0.5964 MB / 0.7377 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000561/0.6709, allocations: 314.3 kB / 0.738 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004511/0.6714, allocations: 341.1 kB / 0.7383 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.383e-05/0.6715, allocations: 21.66 kB / 0.7384 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000837/0.6723, allocations: 366.6 kB / 0.7387 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.6725, allocations: 173.5 kB / 0.7389 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.6729, allocations: 419.6 kB / 0.7393 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.6743, allocations: 1.362 MB / 0.7406 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6744, allocations: 4 kB / 0.7406 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6744, allocations: 0 / 0.7406 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.6744, allocations: 0 / 0.7406 GB, free: 11.94 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.001836/0.6762, allocations: 1.152 MB / 0.7417 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.6763, allocations: 10.81 kB / 0.7417 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.6775, allocations: 249.7 kB / 0.742 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009462/0.6784, allocations: 0.7054 MB / 0.7427 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.6785, allocations: 62.88 kB / 0.7427 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.6786, allocations: 82.38 kB / 0.7428 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.6802, allocations: 0.9351 MB / 0.7437 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.6802, allocations: 3.984 kB / 0.7437 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.211e-05/0.6803, allocations: 37.62 kB / 0.7438 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.6804, allocations: 20.62 kB / 0.7438 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.6822, allocations: 1.129 MB / 0.7449 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/0.686, allocations: 2.711 MB / 0.7475 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.6875, allocations: 0.883 MB / 0.7484 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.688, allocations: 288.2 kB / 0.7487 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.222e-05/0.6881, allocations: 28.92 kB / 0.7487 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007255/0.6888, allocations: 434.9 kB / 0.7491 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 2.394e-06/0.6888, allocations: 0 / 0.7491 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.002907/0.6917, allocations: 1.104 MB / 0.7502 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.6918, allocations: 193.6 kB / 0.7504 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000719/0.6925, allocations: 0.5894 MB / 0.751 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.6926, allocations: 41.7 kB / 0.751 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.6929, allocations: 384.2 kB / 0.7514 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.6931, allocations: 244.4 kB / 0.7516 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.6932, allocations: 69.67 kB / 0.7517 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.6934, allocations: 382.7 kB / 0.752 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/0.6939, allocations: 249.8 kB / 0.7523 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.6944, allocations: 349.7 kB / 0.7526 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.6955, allocations: 0.598 MB / 0.7532 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.6955, allocations: 0 / 0.7532 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00183/0.6973, allocations: 0.8136 MB / 0.754 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.6973, allocations: 8 kB / 0.754 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6974, allocations: 0 / 0.754 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/0.698, allocations: 84.97 kB / 0.7541 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006492/0.6986, allocations: 163.7 kB / 0.7542 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.7007, allocations: 1.512 MB / 0.7557 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007189/0.7014, allocations: 102.1 kB / 0.7558 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.624e-05/0.7015, allocations: 42.28 kB / 0.7558 GB, free: 15.98 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.0004623/0.702, allocations: 245.7 kB / 0.7561 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.7021, allocations: 79 kB / 0.7561 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.7043, allocations: 1.004 MB / 0.7571 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.7043, allocations: 12 kB / 0.7571 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.7043, allocations: 0 / 0.7571 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.7044, allocations: 3.984 kB / 0.7571 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/0.7075, allocations: 1.915 MB / 0.759 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7075, allocations: 7.938 kB / 0.759 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/0.7081, allocations: 147.8 kB / 0.7592 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005199/0.7086, allocations: 84.77 kB / 0.7592 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/0.7086, allocations: 23.92 kB / 0.7593 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.7104, allocations: 1.545 MB / 0.7608 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7104, allocations: 4.062 kB / 0.7608 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.7122, allocations: 0.9219 MB / 0.7617 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/0.7126, allocations: 267.7 kB / 0.7619 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.815e-05/0.7127, allocations: 19.98 kB / 0.7619 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.7133, allocations: 67.89 kB / 0.762 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.7134, allocations: 64.91 kB / 0.7621 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.7135, allocations: 27.98 kB / 0.7621 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005106/0.714, allocations: 431 kB / 0.7625 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.714, allocations: 7.938 kB / 0.7625 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008772/0.7149, allocations: 299.2 kB / 0.7628 GB, free: 8.57 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 (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.001325/0.7162, allocations: 0.595 MB / 0.7634 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.7178, allocations: 0.7767 MB / 0.7641 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7178, allocations: 3.984 kB / 0.7641 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008206/0.7186, allocations: 492.3 kB / 0.7646 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.7199, allocations: 281.1 kB / 0.7649 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.7239, allocations: 2.136 MB / 0.767 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.7245, allocations: 1.007 MB / 0.768 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008466/0.7254, allocations: 250.3 kB / 0.7682 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.7257, allocations: 103.4 kB / 0.7683 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.7257, allocations: 0 / 0.7683 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of Templates: time 0.02388/0.7495, allocations: 13.62 MB / 0.7816 GB, free: 5.633 MB / 0.5919 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)