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.001639/0.001639, allocations: 107.6 kB / 18.95 MB, free: 2.809 MB / 14.72 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.002386/0.002386, allocations: 211.8 kB / 22.25 MB, free: 5.117 MB / 14.72 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 1.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 1.311/1.311, allocations: 203.8 MB / 0.5041 GB, free: 4.641 MB / 414.1 MB " [Timeout remaining time 178] 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.002294/0.002294, allocations: 63.91 kB / 0.7187 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6274/0.6297, allocations: 102 MB / 0.8183 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2225/0.8521, allocations: 160.7 MB / 0.9752 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008084/0.8602, allocations: 4.158 MB / 0.9793 GB, free: 1.168 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008477/0.8611, allocations: 31.69 kB / 0.9793 GB, free: 1.137 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.000999/0.8621, allocations: 254.1 kB / 0.9795 GB, free: 0.8867 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.8647, allocations: 0.7581 MB / 0.9803 GB, free: 128 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004651/0.8693, allocations: 1.574 MB / 0.9818 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.8712, allocations: 1.274 MB / 0.983 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006131/0.8718, allocations: 365.6 kB / 0.9834 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.8738, allocations: 0.837 MB / 0.9842 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005772/0.8743, allocations: 394.3 kB / 0.9846 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.5e-05/0.8744, allocations: 44 kB / 0.9846 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.8769, allocations: 1.243 MB / 0.9858 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.8771, allocations: 195.4 kB / 0.986 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.8774, allocations: 254.8 kB / 0.9863 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.8796, allocations: 1.261 MB / 0.9875 GB, free: 8.688 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.8796, allocations: 0 / 0.9875 GB, free: 8.688 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8796, allocations: 0 / 0.9875 GB, free: 8.688 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.8796, allocations: 0 / 0.9875 GB, free: 8.688 MB / 0.7637 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.001956/0.8815, allocations: 0.9644 MB / 0.9884 GB, free: 7.68 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.8816, allocations: 17.41 kB / 0.9885 GB, free: 7.664 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/0.8837, allocations: 287.2 kB / 0.9887 GB, free: 7.383 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009246/0.8847, allocations: 406.6 kB / 0.9891 GB, free: 6.965 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.8847, allocations: 37 kB / 0.9892 GB, free: 6.926 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.192e-05/0.8848, allocations: 43.98 kB / 0.9892 GB, free: 6.883 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.8859, allocations: 0.5468 MB / 0.9897 GB, free: 6.305 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.8859, allocations: 11.88 kB / 0.9897 GB, free: 6.293 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/0.886, allocations: 16 kB / 0.9898 GB, free: 6.277 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.886, allocations: 11.94 kB / 0.9898 GB, free: 6.266 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.8871, allocations: 455.5 kB / 0.9902 GB, free: 5.82 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/0.8899, allocations: 1.69 MB / 0.9919 GB, free: 4.066 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.891, allocations: 380.5 kB / 0.9922 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/0.8915, allocations: 216.7 kB / 0.9924 GB, free: 3.473 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006296/0.8921, allocations: 91.91 kB / 0.9925 GB, free: 3.383 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008016/0.8929, allocations: 292.6 kB / 0.9928 GB, free: 3.086 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=37): time 2.274e-06/0.8929, allocations: 0 / 0.9928 GB, free: 3.086 MB / 0.7637 GB Notification: Performance of matching and sorting (n=37): time 0.002218/0.8951, allocations: 0.6838 MB / 0.9935 GB, free: 2.395 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.8952, allocations: 59.39 kB / 0.9935 GB, free: 2.324 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.8957, allocations: 389.8 kB / 0.9939 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.172e-05/0.8958, allocations: 37.7 kB / 0.9939 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.896, allocations: 272.5 kB / 0.9942 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.8962, allocations: 134.9 kB / 0.9943 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.8963, allocations: 94.08 kB / 0.9944 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.8965, allocations: 358.8 kB / 0.9947 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/0.8971, allocations: 248.2 kB / 0.995 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007319/0.8978, allocations: 0.4918 MB / 0.9955 GB, free: 216 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.8989, allocations: 0.5417 MB / 0.996 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.8989, allocations: 4 kB / 0.996 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001489/0.9004, allocations: 0.7063 MB / 0.9967 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.825e-05/0.9005, allocations: 59.41 kB / 0.9967 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.9005, allocations: 4 kB / 0.9967 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.9005, allocations: 4 kB / 0.9968 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/0.9011, allocations: 104.2 kB / 0.9969 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.9011, allocations: 7.984 kB / 0.9969 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.9016, allocations: 67.69 kB / 0.9969 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.9017, allocations: 20 kB / 0.9969 GB, free: 14.6 MB / 0.7794 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.000285/0.902, allocations: 194.6 kB / 0.9971 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.902, allocations: 47.66 kB / 0.9972 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.9034, allocations: 0.5326 MB / 0.9977 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.9034, allocations: 4 kB / 0.9977 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/0.9034, allocations: 4 kB / 0.9977 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.9034, allocations: 3.984 kB / 0.9977 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.906, allocations: 1.22 MB / 0.9989 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.906, allocations: 4 kB / 0.9989 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.9065, allocations: 75.89 kB / 0.999 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.9065, allocations: 4 kB / 0.999 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/0.9065, allocations: 27.8 kB / 0.999 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.9065, allocations: 4 kB / 0.999 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.9065, allocations: 4 kB / 0.999 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.9084, allocations: 0.9304 MB / 0.9999 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.9087, allocations: 87.59 kB / 1 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.004e-05/0.9088, allocations: 19.92 kB / 1 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.9092, allocations: 40.02 kB / 1 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.9094, allocations: 43.88 kB / 1 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.9094, allocations: 19.94 kB / 1 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003618/0.9098, allocations: 263.1 kB / 1 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9098, allocations: 0 / 1 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006565/0.9104, allocations: 155.8 kB / 1.001 GB, free: 10.78 MB / 0.7794 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.0003509/0.9108, allocations: 190 kB / 1.001 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.9121, allocations: 0.6225 MB / 1.001 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.9121, allocations: 4.688 kB / 1.001 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007137/0.9128, allocations: 274.9 kB / 1.002 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.914, allocations: 207.2 kB / 1.002 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.9161, allocations: 1.041 MB / 1.003 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.9164, allocations: 266 kB / 1.003 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004697/0.9169, allocations: 116.1 kB / 1.003 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.917, allocations: 39.44 kB / 1.003 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.917, allocations: 0 / 1.003 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of Templates: time 0.01878/0.9358, allocations: 9.864 MB / 1.013 GB, free: 14.28 MB / 0.795 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: 7.588705809786916] Failed to read output from testmodel.py, exit status != 0: 0.9447119701653719 0.95991639 0.07709671600000001 Calling exit ...