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.0008133/0.0008133, allocations: 114.4 kB / 19.7 MB, free: 0.5312 MB / 13.93 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.0008411/0.0008411, allocations: 211.8 kB / 23 MB, free: 3.129 MB / 13.93 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.8861/0.8861, allocations: 230.6 MB / 256.8 MB, free: 3.477 MB / 202.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-531:190: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-531:198: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.7658/0.7658, allocations: 203.8 MB / 0.5049 GB, free: 0.6914 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009587/0.0009587, allocations: 63.91 kB / 0.7195 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4547, allocations: 102 MB / 0.8191 GB, free: 25.22 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1483/0.603, allocations: 185.7 MB / 1 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004128/0.6071, allocations: 4.496 MB / 1.005 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.6074, allocations: 27.75 kB / 1.005 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000534/0.6079, allocations: 258 kB / 1.005 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.6092, allocations: 0.7892 MB / 1.006 GB, free: 3.344 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.6114, allocations: 1.626 MB / 1.007 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000898/0.6123, allocations: 1.281 MB / 1.009 GB, free: 444 kB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.6127, allocations: 365.6 kB / 1.009 GB, free: 68 kB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009723/0.6137, allocations: 0.833 MB / 1.01 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.614, allocations: 418.3 kB / 1.01 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/0.6141, allocations: 44 kB / 1.01 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.6156, allocations: 1.668 MB / 1.012 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.6157, allocations: 199.4 kB / 1.012 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.6159, allocations: 298.5 kB / 1.012 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.6171, allocations: 1.312 MB / 1.014 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.6171, allocations: 3.984 kB / 1.014 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.013e-06/0.6171, allocations: 0 / 1.014 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.6171, allocations: 0 / 1.014 GB, free: 11.3 MB / 0.7917 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.001089/0.6182, allocations: 0.976 MB / 1.015 GB, free: 10.28 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.6182, allocations: 13.47 kB / 1.015 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.6193, allocations: 283.2 kB / 1.015 GB, free: 9.988 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.6198, allocations: 398.6 kB / 1.015 GB, free: 9.578 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.6198, allocations: 44.97 kB / 1.015 GB, free: 9.531 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.6198, allocations: 40 kB / 1.015 GB, free: 9.492 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006031/0.6204, allocations: 0.5507 MB / 1.016 GB, free: 8.91 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.6205, allocations: 3.938 kB / 1.016 GB, free: 8.906 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.6205, allocations: 23.94 kB / 1.016 GB, free: 8.883 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.6205, allocations: 15.94 kB / 1.016 GB, free: 8.867 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005749/0.6211, allocations: 455.5 kB / 1.016 GB, free: 8.418 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.6228, allocations: 2.078 MB / 1.018 GB, free: 6.215 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/0.6233, allocations: 382.5 kB / 1.019 GB, free: 5.832 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.6236, allocations: 220.6 kB / 1.019 GB, free: 5.613 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.6238, allocations: 87.91 kB / 1.019 GB, free: 5.527 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003629/0.6242, allocations: 297.2 kB / 1.019 GB, free: 5.227 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=37): time 1.894e-06/0.6242, allocations: 0 / 1.019 GB, free: 5.227 MB / 0.7917 GB Notification: Performance of matching and sorting (n=37): time 0.0009777/0.6252, allocations: 0.6876 MB / 1.02 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.6252, allocations: 67.34 kB / 1.02 GB, free: 4.453 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.6256, allocations: 494.1 kB / 1.021 GB, free: 3.957 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.6256, allocations: 37.7 kB / 1.021 GB, free: 3.914 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.6257, allocations: 264.4 kB / 1.021 GB, free: 3.652 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 7.121e-05/0.6258, allocations: 126.9 kB / 1.021 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/0.6259, allocations: 94.08 kB / 1.021 GB, free: 3.43 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.626, allocations: 366.8 kB / 1.021 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.6263, allocations: 196.8 kB / 1.022 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.6266, allocations: 315.7 kB / 1.022 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005758/0.6271, allocations: 0.5417 MB / 1.022 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6272, allocations: 4 kB / 1.022 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007108/0.6279, allocations: 0.6522 MB / 1.023 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.6279, allocations: 67.39 kB / 1.023 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6279, allocations: 0 / 1.023 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.6279, allocations: 8 kB / 1.023 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.6282, allocations: 96.16 kB / 1.023 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.6282, allocations: 12 kB / 1.023 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.6284, allocations: 75.58 kB / 1.023 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.6284, allocations: 20 kB / 1.023 GB, free: 0.9727 MB / 0.7917 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.0001547/0.6286, allocations: 197.2 kB / 1.024 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.6286, allocations: 51.67 kB / 1.024 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006626/0.6293, allocations: 0.5447 MB / 1.024 GB, free: 176 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6293, allocations: 0 / 1.024 GB, free: 176 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.6293, allocations: 8.062 kB / 1.024 GB, free: 168 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.6293, allocations: 0 / 1.024 GB, free: 168 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.6307, allocations: 1.318 MB / 1.025 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.6307, allocations: 8.375 kB / 1.025 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.6309, allocations: 79.88 kB / 1.026 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.6309, allocations: 4 kB / 1.026 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.631, allocations: 15.94 kB / 1.026 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.631, allocations: 11.92 kB / 1.026 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.631, allocations: 4 kB / 1.026 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009286/0.6319, allocations: 0.942 MB / 1.026 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.632, allocations: 103.4 kB / 1.027 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.6321, allocations: 12 kB / 1.027 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.6322, allocations: 39.89 kB / 1.027 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.6323, allocations: 51.88 kB / 1.027 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.6323, allocations: 16 kB / 1.027 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002416/0.6326, allocations: 346.8 kB / 1.027 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.6326, allocations: 0 / 1.027 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003358/0.6329, allocations: 151.8 kB / 1.027 GB, free: 12.93 MB / 0.8073 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.0002256/0.6332, allocations: 186.9 kB / 1.027 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006562/0.6338, allocations: 0.5723 MB / 1.028 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6338, allocations: 0 / 1.028 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.6341, allocations: 253 kB / 1.028 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000732/0.6349, allocations: 290.5 kB / 1.028 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.636, allocations: 1.093 MB / 1.029 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.6363, allocations: 0.8665 MB / 1.03 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.6364, allocations: 47.44 kB / 1.03 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of SimCode: time 6.61e-07/0.6364, allocations: 0 / 1.03 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of Templates: time 0.007797/0.6442, allocations: 9.086 MB / 1.039 GB, free: 0.5312 MB / 0.8073 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.850951093947515] Failed to read output from testmodel.py, exit status != 0: 0.6502115170005709 0.657592125 0.038843104 Calling exit ...