Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 192.3 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 207.6 MB / 232.8 MB, free: 2.812 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4191/0.4191, allocations: 55.67 MB / 340.7 MB, free: 11.51 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003433/0.003433, allocations: 75.84 kB / 482.1 MB, free: 36.33 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1722, allocations: 62.88 MB / 0.5322 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5652/0.7374, allocations: 180.7 MB / 0.7087 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008839/0.7463, allocations: 4.389 MB / 0.713 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.7475, allocations: 32.25 kB / 0.713 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.7493, allocations: 383.3 kB / 0.7134 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002385/0.7516, allocations: 0.619 MB / 0.714 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005302/0.7569, allocations: 1.687 MB / 0.7156 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003114/0.7601, allocations: 1.781 MB / 0.7174 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.7611, allocations: 480 kB / 0.7178 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.7632, allocations: 0.882 MB / 0.7187 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.7643, allocations: 0.591 MB / 0.7192 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002666/0.7646, allocations: 71.59 kB / 0.7193 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.7671, allocations: 0.9976 MB / 0.7203 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005174/0.7676, allocations: 309.7 kB / 0.7206 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.7686, allocations: 445.4 kB / 0.721 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003632/0.7722, allocations: 1.508 MB / 0.7225 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7722, allocations: 0 / 0.7225 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7722, allocations: 0 / 0.7225 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.82e-05/0.7723, allocations: 0 / 0.7225 GB, free: 2.457 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.003097/0.7754, allocations: 1.142 MB / 0.7236 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.7754, allocations: 10.25 kB / 0.7236 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.7775, allocations: 281.1 kB / 0.7239 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.7787, allocations: 461.2 kB / 0.7243 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/0.7788, allocations: 42.53 kB / 0.7244 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.7789, allocations: 65.27 kB / 0.7244 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.7804, allocations: 0.7729 MB / 0.7252 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.7805, allocations: 0 / 0.7252 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.294e-05/0.7806, allocations: 31.19 kB / 0.7252 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.7806, allocations: 15.12 kB / 0.7252 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.782, allocations: 0.6171 MB / 0.7258 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004578/0.7866, allocations: 2.772 MB / 0.7285 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.7878, allocations: 443.2 kB / 0.729 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.7883, allocations: 208.5 kB / 0.7292 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/0.7886, allocations: 44.23 kB / 0.7292 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008855/0.7895, allocations: 454.1 kB / 0.7296 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=36): time 2.665e-06/0.7895, allocations: 4 kB / 0.7296 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36): time 0.001947/0.7915, allocations: 0.6867 MB / 0.7303 GB, free: 12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003055/0.7918, allocations: 482.6 kB / 0.7308 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009639/0.7927, allocations: 0.6486 MB / 0.7314 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-05/0.7928, allocations: 37.7 kB / 0.7314 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/0.7932, allocations: 346.3 kB / 0.7318 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.7933, allocations: 129.9 kB / 0.7319 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.7936, allocations: 126.3 kB / 0.732 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002217/0.7938, allocations: 378.8 kB / 0.7324 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006749/0.7945, allocations: 225.1 kB / 0.7326 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008405/0.7953, allocations: 473 kB / 0.733 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.7966, allocations: 0.6396 MB / 0.7337 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.7966, allocations: 4 kB / 0.7337 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001774/0.7984, allocations: 0.7564 MB / 0.7344 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/0.7985, allocations: 67.33 kB / 0.7345 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.7985, allocations: 8 kB / 0.7345 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.7985, allocations: 4 kB / 0.7345 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.7991, allocations: 128.1 kB / 0.7346 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.7991, allocations: 8 kB / 0.7346 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009923/0.8001, allocations: 115.3 kB / 0.7347 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-05/0.8002, allocations: 24 kB / 0.7347 GB, free: 7.113 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (66): * Single equations (assignments): 64 * 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.0004681/0.8006, allocations: 233.5 kB / 0.735 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.8008, allocations: 71.58 kB / 0.735 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.8023, allocations: 0.5306 MB / 0.7355 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.8023, allocations: 4 kB / 0.7355 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.8023, allocations: 0 / 0.7355 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.8023, allocations: 7.984 kB / 0.7356 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.8051, allocations: 1.523 MB / 0.737 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.8051, allocations: 4 kB / 0.737 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.8056, allocations: 75.81 kB / 0.7371 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.8056, allocations: 4 kB / 0.7371 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.8056, allocations: 16.28 kB / 0.7371 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.468e-05/0.8056, allocations: 11.94 kB / 0.7372 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.8056, allocations: 0 / 0.7372 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.8078, allocations: 0.9416 MB / 0.7381 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/0.8082, allocations: 143.4 kB / 0.7382 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.8085, allocations: 12 kB / 0.7382 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/0.8092, allocations: 47.94 kB / 0.7383 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.8093, allocations: 47.94 kB / 0.7383 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/0.8094, allocations: 19.94 kB / 0.7383 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00065/0.81, allocations: 463 kB / 0.7388 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.81, allocations: 0 / 0.7388 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008394/0.8109, allocations: 215.8 kB / 0.739 GB, free: 2.633 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * 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.0005261/0.8114, allocations: 174.4 kB / 0.7391 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.8129, allocations: 0.6224 MB / 0.7398 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.8129, allocations: 0 / 0.7398 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007229/0.8136, allocations: 277.5 kB / 0.74 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.8155, allocations: 408.9 kB / 0.7404 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.8182, allocations: 1.223 MB / 0.7416 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/0.8189, allocations: 0.9141 MB / 0.7425 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006903/0.8195, allocations: 157.5 kB / 0.7426 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.8197, allocations: 55.42 kB / 0.7427 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of SimCode: time 1.512e-06/0.8197, allocations: 0 / 0.7427 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of Templates: time 0.03074/0.8505, allocations: 16.1 MB / 0.7584 GB, free: 14.76 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.656064769253135] Failed to read output from testmodel.py, exit status != 0: 0.8605902278795838 0.873191242 0.097738132 Calling exit ...