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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7052/0.7052, allocations: 130.5 MB / 143.8 MB, free: 13.56 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.3 MB / 396.8 MB, free: 9.137 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008788/0.0008787, allocations: 98.53 kB / 478.9 MB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.806e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1774, allocations: 81.58 MB / 0.6348 GB, free: 11.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6246/0.8021, allocations: 115.8 MB / 0.7478 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.8023, allocations: 93.53 kB / 0.7479 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02187/0.8242, allocations: 8.977 MB / 0.7567 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8243, allocations: 0 / 0.7567 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.829e-05/0.8243, allocations: 7.812 kB / 0.7567 GB, free: 26.63 MB / 0.5105 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.0006824/0.825, allocations: 499.9 kB / 0.7572 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.825, allocations: 7.688 kB / 0.7572 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.8252, allocations: 31.12 kB / 0.7572 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.8256, allocations: 279 kB / 0.7575 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.8256, allocations: 15.66 kB / 0.7575 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.8257, allocations: 19.16 kB / 0.7575 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.8261, allocations: 231 kB / 0.7577 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.8261, allocations: 0 / 0.7577 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.8262, allocations: 11.62 kB / 0.7578 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.8262, allocations: 3.781 kB / 0.7578 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008329/0.827, allocations: 0.7413 MB / 0.7585 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.8281, allocations: 0.6028 MB / 0.7591 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/0.8285, allocations: 296 kB / 0.7593 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.8286, allocations: 110.8 kB / 0.7595 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.8287, allocations: 19.67 kB / 0.7595 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.829, allocations: 175.5 kB / 0.7596 GB, free: 25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 1.663e-06/0.829, allocations: 0 / 0.7596 GB, free: 25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.0004468/0.8294, allocations: 279.8 kB / 0.7599 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.8295, allocations: 140.2 kB / 0.76 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.8298, allocations: 268.6 kB / 0.7603 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.8298, allocations: 29.14 kB / 0.7603 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.8299, allocations: 140.9 kB / 0.7605 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.658e-05/0.83, allocations: 111.4 kB / 0.7606 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.83, allocations: 7.375 kB / 0.7606 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.8302, allocations: 337.2 kB / 0.7609 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.8303, allocations: 77.64 kB / 0.761 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.8305, allocations: 123.6 kB / 0.7611 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.8306, allocations: 109.8 kB / 0.7612 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8306, allocations: 3.938 kB / 0.7612 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003532/0.831, allocations: 273.9 kB / 0.7615 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.831, allocations: 3.812 kB / 0.7615 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.831, allocations: 0 / 0.7615 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.8311, allocations: 11.84 kB / 0.7615 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.8313, allocations: 57.72 kB / 0.7615 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.8313, allocations: 3.812 kB / 0.7615 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.8314, allocations: 30.22 kB / 0.7616 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.8315, allocations: 15.61 kB / 0.7616 GB, free: 23.91 MB / 0.5105 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.8316, allocations: 123.5 kB / 0.7617 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.8317, allocations: 27.16 kB / 0.7617 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005765/0.8322, allocations: 377.5 kB / 0.7621 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.8323, allocations: 7.828 kB / 0.7621 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8323, allocations: 0 / 0.7621 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.8323, allocations: 7.984 kB / 0.7621 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.8326, allocations: 357.1 kB / 0.7624 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8326, allocations: 3.938 kB / 0.7624 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.8328, allocations: 56.5 kB / 0.7625 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.8328, allocations: 4.031 kB / 0.7625 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.8328, allocations: 14.78 kB / 0.7625 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8328, allocations: 3.844 kB / 0.7625 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.8328, allocations: 11.88 kB / 0.7625 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.8332, allocations: 316.8 kB / 0.7628 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.8334, allocations: 160.3 kB / 0.763 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.8335, allocations: 2.688 kB / 0.763 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.8336, allocations: 30.81 kB / 0.763 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.8337, allocations: 22.5 kB / 0.763 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.8337, allocations: 22.78 kB / 0.7631 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001842/0.8339, allocations: 220.7 kB / 0.7633 GB, free: 23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8339, allocations: 4 kB / 0.7633 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003076/0.8342, allocations: 82.97 kB / 0.7633 GB, free: 22.98 MB / 0.5105 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008765/0.8351, allocations: 375.6 kB / 0.7637 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.8355, allocations: 222.4 kB / 0.7639 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.8355, allocations: 0 / 0.7639 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.8357, allocations: 127 kB / 0.764 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.8359, allocations: 37.88 kB / 0.7641 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/0.8365, allocations: 416 kB / 0.7645 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.8369, allocations: 0.7848 MB / 0.7652 GB, free: 21.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002932/0.8372, allocations: 147.8 kB / 0.7654 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.8373, allocations: 49.47 kB / 0.7654 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of SimCode: time 3.71e-07/0.8373, allocations: 0 / 0.7654 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.005677/0.8429, allocations: 3.338 MB / 0.7687 GB, free: 20.1 MB / 0.5105 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)