Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 173 kB / 23.49 MB, free: 1.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9588/0.9588, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7933/0.7933, allocations: 154.8 MB / 415.1 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.5206 GB, free: 2.246 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.534e-05, allocations: 2.969 kB / 0.5206 GB, free: 2.242 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4253/0.4253, allocations: 178.5 MB / 0.695 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003913/0.4293, allocations: 4.569 MB / 0.6994 GB, free: 47.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.4296, allocations: 30 kB / 0.6994 GB, free: 47.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.43, allocations: 259.8 kB / 0.6997 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.4313, allocations: 0.79 MB / 0.7005 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.4335, allocations: 1.633 MB / 0.7021 GB, free: 47.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001007/0.4346, allocations: 1.257 MB / 0.7033 GB, free: 47.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004058/0.435, allocations: 390.2 kB / 0.7037 GB, free: 47.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.4361, allocations: 0.9974 MB / 0.7046 GB, free: 47.06 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.4364, allocations: 351.5 kB / 0.705 GB, free: 47.02 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.265e-05/0.4365, allocations: 44.56 kB / 0.705 GB, free: 47.02 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.4378, allocations: 1.273 MB / 0.7063 GB, free: 46.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.4379, allocations: 204.5 kB / 0.7065 GB, free: 46.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.4381, allocations: 214.8 kB / 0.7067 GB, free: 46.83 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.4392, allocations: 1.152 MB / 0.7078 GB, free: 46.71 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4392, allocations: 1 kB / 0.7078 GB, free: 46.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4392, allocations: 0 / 0.7078 GB, free: 46.71 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.4392, allocations: 0 / 0.7078 GB, free: 46.71 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009766/0.4402, allocations: 1.05 MB / 0.7088 GB, free: 46.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.4402, allocations: 10.5 kB / 0.7088 GB, free: 46.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.4414, allocations: 385.7 kB / 0.7092 GB, free: 45.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.4419, allocations: 432.3 kB / 0.7096 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.4419, allocations: 32.81 kB / 0.7096 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.4419, allocations: 42.41 kB / 0.7097 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.4424, allocations: 435.5 kB / 0.7101 GB, free: 45.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.4424, allocations: 0 / 0.7101 GB, free: 45.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.4424, allocations: 18.97 kB / 0.7101 GB, free: 45.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.4425, allocations: 11.78 kB / 0.7101 GB, free: 45.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.4427, allocations: 182 kB / 0.7103 GB, free: 45.57 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.4439, allocations: 2.03 MB / 0.7123 GB, free: 44.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.4442, allocations: 177.9 kB / 0.7124 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.4443, allocations: 79.62 kB / 0.7125 GB, free: 44.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.4445, allocations: 83.95 kB / 0.7126 GB, free: 44.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.4447, allocations: 187.3 kB / 0.7128 GB, free: 44.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 1.593e-06/0.4447, allocations: 0.8438 kB / 0.7128 GB, free: 44.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.0005927/0.4453, allocations: 335.4 kB / 0.7131 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.4454, allocations: 68.59 kB / 0.7132 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.4456, allocations: 414.3 kB / 0.7136 GB, free: 43.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.4456, allocations: 37.7 kB / 0.7136 GB, free: 43.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.4457, allocations: 321.1 kB / 0.7139 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.25e-05/0.4458, allocations: 129.3 kB / 0.714 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-05/0.4459, allocations: 97.98 kB / 0.7141 GB, free: 43.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.564e-05/0.446, allocations: 0.5267 MB / 0.7146 GB, free: 42.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.4461, allocations: 116.2 kB / 0.7147 GB, free: 42.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.4463, allocations: 390.1 kB / 0.7151 GB, free: 42.51 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.4465, allocations: 335.8 kB / 0.7154 GB, free: 42.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4465, allocations: 0.6562 kB / 0.7154 GB, free: 42.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000423/0.447, allocations: 474.2 kB / 0.7159 GB, free: 42.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.447, allocations: 66.84 kB / 0.7159 GB, free: 42.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.447, allocations: 6.094 kB / 0.716 GB, free: 42.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.447, allocations: 6.312 kB / 0.716 GB, free: 42.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.4472, allocations: 91 kB / 0.716 GB, free: 42.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4472, allocations: 6.344 kB / 0.7161 GB, free: 42.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.4474, allocations: 58.02 kB / 0.7161 GB, free: 42.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.4475, allocations: 23.81 kB / 0.7161 GB, free: 42.01 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001037/0.4476, allocations: 188.8 kB / 0.7163 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.4476, allocations: 60.5 kB / 0.7164 GB, free: 41.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.448, allocations: 308.4 kB / 0.7167 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.448, allocations: 2.375 kB / 0.7167 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.448, allocations: 0.9062 kB / 0.7167 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.448, allocations: 3.328 kB / 0.7167 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008616/0.4489, allocations: 0.9349 MB / 0.7176 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4489, allocations: 5.688 kB / 0.7176 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.449, allocations: 66.36 kB / 0.7177 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.449, allocations: 5.188 kB / 0.7177 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.4491, allocations: 17.23 kB / 0.7177 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.4491, allocations: 16.19 kB / 0.7177 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4491, allocations: 7.547 kB / 0.7177 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.4496, allocations: 0.5862 MB / 0.7183 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.395e-05/0.4497, allocations: 84.64 kB / 0.7183 GB, free: 40.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.4497, allocations: 18.69 kB / 0.7184 GB, free: 40.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.4499, allocations: 30.97 kB / 0.7184 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.4499, allocations: 43.8 kB / 0.7184 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.45, allocations: 18.62 kB / 0.7185 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001349/0.4501, allocations: 268.6 kB / 0.7187 GB, free: 40.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4501, allocations: 0.9688 kB / 0.7187 GB, free: 40.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003526/0.4505, allocations: 166.7 kB / 0.7189 GB, free: 40.72 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002199/0.4507, allocations: 186.3 kB / 0.719 GB, free: 40.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003646/0.451, allocations: 398.1 kB / 0.7194 GB, free: 40.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.451, allocations: 2.875 kB / 0.7194 GB, free: 40.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.4512, allocations: 116.3 kB / 0.7195 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.4518, allocations: 215.1 kB / 0.7197 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.4531, allocations: 0.9799 MB / 0.7207 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.4533, allocations: 140.2 kB / 0.7208 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002473/0.4535, allocations: 97.28 kB / 0.7209 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.4536, allocations: 41.33 kB / 0.721 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of SimCode: time 7.22e-07/0.4536, allocations: 0.5 kB / 0.721 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.01195/0.4656, allocations: 9.309 MB / 0.7301 GB, free: 38.92 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.412849056068808]