Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005149/0.005149, allocations: 96.53 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.001102/0.001102, allocations: 196.8 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7766/0.7766, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 0.5814 GB, free: 7.559 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.4505, allocations: 80.2 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003066/0.4537, allocations: 1.867 MB / 0.6615 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001983/0.4557, allocations: 1.571 MB / 0.663 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.392e-05/0.4558, allocations: 1.25 kB / 0.663 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.456, allocations: 33.36 kB / 0.6631 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.4563, allocations: 76.48 kB / 0.6631 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.4568, allocations: 172.3 kB / 0.6633 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000302/0.4571, allocations: 278.4 kB / 0.6636 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.4572, allocations: 36.09 kB / 0.6636 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.637e-05/0.4573, allocations: 86.73 kB / 0.6637 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.4575, allocations: 108.9 kB / 0.6638 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.4575, allocations: 20.09 kB / 0.6638 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.4577, allocations: 88.16 kB / 0.6639 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.066e-05/0.4578, allocations: 87.3 kB / 0.664 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.86e-05/0.4579, allocations: 117.7 kB / 0.6641 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.4583, allocations: 325.2 kB / 0.6644 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.4583, allocations: 1.188 kB / 0.6644 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4583, allocations: 4 kB / 0.6644 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.4583, allocations: 0 / 0.6644 GB, free: 7.121 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000661/0.459, allocations: 0.5636 MB / 0.665 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.459, allocations: 9.812 kB / 0.665 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.4592, allocations: 33.16 kB / 0.665 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.4594, allocations: 277 kB / 0.6653 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.4594, allocations: 15.75 kB / 0.6653 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.4595, allocations: 18.53 kB / 0.6653 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.4598, allocations: 230.4 kB / 0.6655 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4598, allocations: 0 / 0.6655 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.4599, allocations: 10.41 kB / 0.6655 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.4599, allocations: 5.281 kB / 0.6655 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007803/0.4607, allocations: 0.7495 MB / 0.6663 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008814/0.4616, allocations: 0.6254 MB / 0.6669 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.462, allocations: 307.8 kB / 0.6672 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.4622, allocations: 111.6 kB / 0.6673 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.4623, allocations: 17 kB / 0.6673 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.4626, allocations: 190.5 kB / 0.6675 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.433e-06/0.4626, allocations: 1.094 kB / 0.6675 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0006281/0.4632, allocations: 383.4 kB / 0.6678 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.4633, allocations: 132.2 kB / 0.668 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.4635, allocations: 318.1 kB / 0.6683 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.4636, allocations: 32.23 kB / 0.6683 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.4636, allocations: 130.6 kB / 0.6684 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.614e-05/0.4637, allocations: 121.5 kB / 0.6685 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/0.4638, allocations: 70.09 kB / 0.6686 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.4639, allocations: 339.4 kB / 0.6689 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.464, allocations: 84.2 kB / 0.669 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.4642, allocations: 125.3 kB / 0.6691 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.4645, allocations: 217.7 kB / 0.6693 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4645, allocations: 0 / 0.6693 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004164/0.4649, allocations: 290.1 kB / 0.6696 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4649, allocations: 5.344 kB / 0.6696 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4649, allocations: 4 kB / 0.6696 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.465, allocations: 6.969 kB / 0.6696 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.4652, allocations: 64.39 kB / 0.6697 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.4652, allocations: 1.75 kB / 0.6697 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.4654, allocations: 23.61 kB / 0.6697 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.4654, allocations: 12.86 kB / 0.6697 GB, free: 3.293 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.4655, allocations: 164 kB / 0.6699 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.4656, allocations: 28.72 kB / 0.6699 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006427/0.4662, allocations: 382.1 kB / 0.6703 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.4663, allocations: 8.094 kB / 0.6703 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4663, allocations: 4 kB / 0.6703 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4663, allocations: 5.141 kB / 0.6703 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.4665, allocations: 340.2 kB / 0.6706 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.4665, allocations: 3.984 kB / 0.6706 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.4667, allocations: 58.38 kB / 0.6707 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4667, allocations: 1 kB / 0.6707 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.4667, allocations: 16.67 kB / 0.6707 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4667, allocations: 9.531 kB / 0.6707 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4667, allocations: 0 / 0.6707 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.4672, allocations: 332.1 kB / 0.671 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.974e-05/0.4673, allocations: 142.1 kB / 0.6712 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.4673, allocations: 10.59 kB / 0.6712 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.4675, allocations: 27.59 kB / 0.6712 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.4676, allocations: 24.25 kB / 0.6712 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.4676, allocations: 15.08 kB / 0.6712 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000181/0.4678, allocations: 233.4 kB / 0.6715 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4678, allocations: 4 kB / 0.6715 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003132/0.4681, allocations: 69.23 kB / 0.6715 GB, free: 2.023 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008745/0.469, allocations: 404.3 kB / 0.6719 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.4694, allocations: 237 kB / 0.6721 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4694, allocations: 0 / 0.6721 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.4696, allocations: 131.3 kB / 0.6723 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.4699, allocations: 41.19 kB / 0.6723 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007415/0.4706, allocations: 0.5203 MB / 0.6728 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.4708, allocations: 0.7612 MB / 0.6735 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002935/0.4711, allocations: 143.5 kB / 0.6737 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.856e-05/0.4712, allocations: 48.97 kB / 0.6737 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.4712, allocations: 1.156 kB / 0.6737 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of Templates: time 0.007189/0.4784, allocations: 3.436 MB / 0.6771 GB, free: 14.88 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)