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.001518/0.001518, allocations: 105.1 kB / 16.35 MB, free: 5.824 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.001573/0.001573, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8067/0.8067, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 59.91 kB / 0.5067 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3332, allocations: 80.9 MB / 0.5857 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004916/0.3382, allocations: 4.189 MB / 0.5898 GB, free: 22.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1448/0.483, allocations: 150.5 MB / 0.7368 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008626/0.4839, allocations: 19.88 kB / 0.7368 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005713/0.4846, allocations: 166.5 kB / 0.737 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.4864, allocations: 484.8 kB / 0.7374 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.4883, allocations: 0.7985 MB / 0.7382 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.4896, allocations: 1.218 MB / 0.7394 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008641/0.4905, allocations: 0.639 MB / 0.74 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005172/0.491, allocations: 450.5 kB / 0.7405 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/0.4915, allocations: 457.9 kB / 0.7409 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.4916, allocations: 104 kB / 0.741 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007946/0.4924, allocations: 479.6 kB / 0.7415 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.4927, allocations: 267.1 kB / 0.7417 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.493, allocations: 0.5051 MB / 0.7422 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.4945, allocations: 1.499 MB / 0.7437 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.4946, allocations: 4 kB / 0.7437 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4946, allocations: 0 / 0.7437 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.4946, allocations: 4 kB / 0.7437 GB, free: 8.258 MB / 0.5762 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.002054/0.4966, allocations: 1.344 MB / 0.745 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.4967, allocations: 13.11 kB / 0.745 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.4978, allocations: 223.5 kB / 0.7452 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.4989, allocations: 0.7345 MB / 0.7459 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.499, allocations: 62 kB / 0.746 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.4991, allocations: 76 kB / 0.7461 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.5007, allocations: 0.9325 MB / 0.747 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.5007, allocations: 0 / 0.747 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/0.5008, allocations: 32 kB / 0.747 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.5008, allocations: 20 kB / 0.747 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.5026, allocations: 1.112 MB / 0.7481 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/0.5065, allocations: 2.669 MB / 0.7507 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3146/0.8212, allocations: 0.8559 MB / 0.7516 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007443/0.8219, allocations: 278.8 kB / 0.7518 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.645e-05/0.822, allocations: 33.62 kB / 0.7519 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007746/0.8228, allocations: 432.5 kB / 0.7523 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 2.214e-06/0.8228, allocations: 1.312 kB / 0.7523 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.002907/0.8257, allocations: 1.081 MB / 0.7533 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.8258, allocations: 198 kB / 0.7535 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007238/0.8265, allocations: 0.5874 MB / 0.7541 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/0.8266, allocations: 37.67 kB / 0.7541 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.8269, allocations: 389.4 kB / 0.7545 GB, free: 164 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.8271, allocations: 248.5 kB / 0.7547 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.8274, allocations: 154.6 kB / 0.7549 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.8275, allocations: 382.2 kB / 0.7552 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.828, allocations: 240.5 kB / 0.7555 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/0.8286, allocations: 354.9 kB / 0.7558 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.8297, allocations: 0.5822 MB / 0.7564 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.8297, allocations: 0.7812 kB / 0.7564 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002065/0.8318, allocations: 0.8062 MB / 0.7572 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.8319, allocations: 9.594 kB / 0.7572 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.8319, allocations: 5.609 kB / 0.7572 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006465/0.8325, allocations: 87.58 kB / 0.7573 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/0.8332, allocations: 151.4 kB / 0.7574 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.8351, allocations: 1.635 MB / 0.759 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007234/0.8359, allocations: 82.41 kB / 0.7591 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.931e-05/0.836, allocations: 33.62 kB / 0.7591 GB, free: 160.9 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.0004622/0.8364, allocations: 265.8 kB / 0.7594 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.8366, allocations: 77.3 kB / 0.7594 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.839, allocations: 0.9878 MB / 0.7604 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.8391, allocations: 8.906 kB / 0.7604 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.8391, allocations: 3.938 kB / 0.7604 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.8391, allocations: 4.328 kB / 0.7604 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.8423, allocations: 1.911 MB / 0.7623 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.8423, allocations: 4 kB / 0.7623 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/0.8428, allocations: 144.6 kB / 0.7624 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004159/0.8433, allocations: 68.39 kB / 0.7625 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/0.8433, allocations: 24.11 kB / 0.7625 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.8449, allocations: 1.662 MB / 0.7641 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8449, allocations: 0 / 0.7641 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.8466, allocations: 0.9196 MB / 0.765 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.847, allocations: 255 kB / 0.7653 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.8471, allocations: 16.03 kB / 0.7653 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/0.8476, allocations: 57.33 kB / 0.7654 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.8478, allocations: 59.17 kB / 0.7654 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.58e-05/0.8479, allocations: 33.03 kB / 0.7654 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004749/0.8483, allocations: 428.8 kB / 0.7659 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.62e-07/0.8484, allocations: 0 / 0.7659 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008707/0.8492, allocations: 302.9 kB / 0.7661 GB, free: 156.4 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.00124/0.8505, allocations: 0.5954 MB / 0.7667 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.8519, allocations: 0.7751 MB / 0.7675 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8519, allocations: 0 / 0.7675 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006917/0.8526, allocations: 492.7 kB / 0.768 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009958/0.8536, allocations: 304.5 kB / 0.7682 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.8567, allocations: 1.653 MB / 0.7699 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.857, allocations: 1.008 MB / 0.7708 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006441/0.8577, allocations: 261.8 kB / 0.7711 GB, free: 152 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.8579, allocations: 95.39 kB / 0.7712 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/0.8579, allocations: 0 / 0.7712 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.01812/0.876, allocations: 14.26 MB / 0.7851 GB, free: 137.8 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)