Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001336/0.001336, allocations: 108.6 kB / 16.41 MB, free: 6 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.001265/0.001265, allocations: 190.2 kB / 17.34 MB, free: 5.586 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8697/0.8697, allocations: 135.2 MB / 426.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.83 kB / 0.5864 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1922, allocations: 80.92 MB / 0.6654 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003685/0.1959, allocations: 1.864 MB / 0.6672 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002576/0.1985, allocations: 1.581 MB / 0.6687 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.141e-05/0.1986, allocations: 0 / 0.6687 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.1988, allocations: 27.78 kB / 0.6688 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.1992, allocations: 75.55 kB / 0.6688 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.1997, allocations: 167.1 kB / 0.669 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.2001, allocations: 277.4 kB / 0.6693 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2002, allocations: 33.05 kB / 0.6693 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.2003, allocations: 91.81 kB / 0.6694 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.2006, allocations: 103.6 kB / 0.6695 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.462e-05/0.2007, allocations: 20 kB / 0.6695 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.2008, allocations: 87.95 kB / 0.6696 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.201, allocations: 91.73 kB / 0.6697 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.2011, allocations: 119.3 kB / 0.6698 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.2015, allocations: 322.7 kB / 0.6701 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2015, allocations: 0 / 0.6701 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2015, allocations: 0 / 0.6701 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.2016, allocations: 0 / 0.6701 GB, free: 0.8906 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.0009263/0.2025, allocations: 0.569 MB / 0.6706 GB, free: 280 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2025, allocations: 9.109 kB / 0.6706 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.2027, allocations: 36.73 kB / 0.6707 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.203, allocations: 274.9 kB / 0.6709 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.2031, allocations: 16.16 kB / 0.671 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.2031, allocations: 16.12 kB / 0.671 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.2035, allocations: 237 kB / 0.6712 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.2035, allocations: 3.938 kB / 0.6712 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.2036, allocations: 8 kB / 0.6712 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.2036, allocations: 4 kB / 0.6712 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.2046, allocations: 0.7525 MB / 0.672 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.2057, allocations: 0.6293 MB / 0.6726 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/0.2063, allocations: 295.2 kB / 0.6728 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.2065, allocations: 101.4 kB / 0.6729 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.2065, allocations: 16.25 kB / 0.673 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004155/0.207, allocations: 187.9 kB / 0.6731 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 2.154e-06/0.207, allocations: 0 / 0.6731 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.0007521/0.2077, allocations: 381 kB / 0.6735 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.2078, allocations: 132.5 kB / 0.6736 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.2081, allocations: 313 kB / 0.6739 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.2082, allocations: 29.7 kB / 0.674 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.2083, allocations: 140.7 kB / 0.6741 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.2084, allocations: 115 kB / 0.6742 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.2085, allocations: 65.67 kB / 0.6743 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.2087, allocations: 342.8 kB / 0.6746 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2089, allocations: 79.95 kB / 0.6747 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.2091, allocations: 128.6 kB / 0.6748 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.2094, allocations: 221 kB / 0.675 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2094, allocations: 0 / 0.675 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004971/0.2099, allocations: 285 kB / 0.6753 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2099, allocations: 4 kB / 0.6753 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2099, allocations: 3.938 kB / 0.6753 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.21, allocations: 11.94 kB / 0.6753 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.2102, allocations: 67.91 kB / 0.6754 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2102, allocations: 0 / 0.6754 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.2104, allocations: 23.88 kB / 0.6754 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.2104, allocations: 19.92 kB / 0.6754 GB, free: 11.18 MB / 0.5137 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.0001898/0.2106, allocations: 161.8 kB / 0.6756 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.2107, allocations: 27.81 kB / 0.6756 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007421/0.2114, allocations: 384.7 kB / 0.6759 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.2114, allocations: 7.938 kB / 0.676 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2114, allocations: 0 / 0.676 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2114, allocations: 3.984 kB / 0.676 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.2118, allocations: 345.3 kB / 0.6763 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2118, allocations: 0 / 0.6763 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.212, allocations: 63.91 kB / 0.6763 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.212, allocations: 0 / 0.6763 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.212, allocations: 11.98 kB / 0.6764 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.212, allocations: 7.938 kB / 0.6764 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.212, allocations: 0 / 0.6764 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/0.2126, allocations: 318.3 kB / 0.6767 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.2127, allocations: 152.8 kB / 0.6768 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.2128, allocations: 7.984 kB / 0.6768 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.2129, allocations: 23.92 kB / 0.6768 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.213, allocations: 27.95 kB / 0.6769 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.2131, allocations: 12 kB / 0.6769 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000238/0.2133, allocations: 236.4 kB / 0.6771 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2133, allocations: 0 / 0.6771 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003303/0.2136, allocations: 63.94 kB / 0.6772 GB, free: 9.25 MB / 0.5137 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.001497/0.2151, allocations: 422.1 kB / 0.6776 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004633/0.2156, allocations: 223.8 kB / 0.6778 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.2156, allocations: 4 kB / 0.6778 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.2158, allocations: 123.8 kB / 0.6779 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.2161, allocations: 46.41 kB / 0.678 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.2171, allocations: 0.5616 MB / 0.6785 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.2176, allocations: 0.7614 MB / 0.6792 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.2177, allocations: 47.42 kB / 0.6793 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/0.2177, allocations: 4 kB / 0.6793 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of Templates: time 0.008304/0.226, allocations: 4.487 MB / 0.6837 GB, free: 2.695 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)