Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001366/0.001366, allocations: 110 kB / 18.93 MB, free: 2.945 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.001563/0.001563, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8597/0.8597, allocations: 134 MB / 440.3 MB, free: 240 kB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 66.53 kB / 0.6107 GB, free: 13.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1774, allocations: 84.73 MB / 0.6935 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5743/0.7517, allocations: 182.7 MB / 0.8719 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007288/0.759, allocations: 4.503 MB / 0.8763 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008567/0.7599, allocations: 27.75 kB / 0.8763 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009071/0.7608, allocations: 250.1 kB / 0.8766 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.7633, allocations: 0.8048 MB / 0.8773 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004604/0.7679, allocations: 1.606 MB / 0.8789 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002069/0.77, allocations: 1.274 MB / 0.8802 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.7711, allocations: 353.8 kB / 0.8805 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.7729, allocations: 0.5955 MB / 0.8811 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000877/0.7738, allocations: 438.2 kB / 0.8815 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.7739, allocations: 47.94 kB / 0.8815 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004011/0.7779, allocations: 1.679 MB / 0.8832 GB, free: 120 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005453/0.7785, allocations: 183.5 kB / 0.8833 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008777/0.7794, allocations: 306.5 kB / 0.8836 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003497/0.7829, allocations: 1.32 MB / 0.8849 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.7829, allocations: 4 kB / 0.8849 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7829, allocations: 0 / 0.8849 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.748e-05/0.7829, allocations: 0 / 0.8849 GB, free: 14.32 MB / 0.6544 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.002545/0.7854, allocations: 0.972 MB / 0.8859 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.7855, allocations: 12.03 kB / 0.8859 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/0.7877, allocations: 287.3 kB / 0.8862 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009974/0.7887, allocations: 406.6 kB / 0.8866 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.7888, allocations: 29 kB / 0.8866 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-05/0.7889, allocations: 48 kB / 0.8866 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.7901, allocations: 0.5468 MB / 0.8872 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.7901, allocations: 3.938 kB / 0.8872 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.7902, allocations: 19.94 kB / 0.8872 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.7902, allocations: 12 kB / 0.8872 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.7914, allocations: 459.5 kB / 0.8876 GB, free: 11.45 MB / 0.6544 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.003611/0.795, allocations: 2.085 MB / 0.8897 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.7962, allocations: 386.3 kB / 0.89 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/0.7968, allocations: 216.7 kB / 0.8902 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006358/0.7975, allocations: 95.89 kB / 0.8903 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008079/0.7983, allocations: 291.7 kB / 0.8906 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=37): time 3.647e-06/0.7983, allocations: 0 / 0.8906 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37): time 0.002306/0.8006, allocations: 0.6894 MB / 0.8913 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.8006, allocations: 59.39 kB / 0.8913 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007626/0.8014, allocations: 494.1 kB / 0.8918 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.184e-05/0.8015, allocations: 33.7 kB / 0.8918 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.8017, allocations: 264.5 kB / 0.8921 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.8019, allocations: 126.9 kB / 0.8922 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.8021, allocations: 102 kB / 0.8923 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000222/0.8023, allocations: 362.7 kB / 0.8927 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/0.8029, allocations: 200.8 kB / 0.8929 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007301/0.8036, allocations: 311.7 kB / 0.8932 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.8048, allocations: 0.5499 MB / 0.8937 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.8048, allocations: 0 / 0.8937 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001495/0.8063, allocations: 0.6407 MB / 0.8943 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.568e-05/0.8064, allocations: 63.41 kB / 0.8944 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.8064, allocations: 4 kB / 0.8944 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.8064, allocations: 11.05 kB / 0.8944 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/0.807, allocations: 91.83 kB / 0.8945 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.807, allocations: 7.984 kB / 0.8945 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/0.8076, allocations: 87.77 kB / 0.8946 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/0.8077, allocations: 20 kB / 0.8946 GB, free: 3.996 MB / 0.6544 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.0003369/0.808, allocations: 198.3 kB / 0.8948 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.8082, allocations: 59.62 kB / 0.8948 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.8096, allocations: 0.5267 MB / 0.8954 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.8096, allocations: 4 kB / 0.8954 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.8096, allocations: 0 / 0.8954 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/0.8097, allocations: 3.984 kB / 0.8954 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.8125, allocations: 1.324 MB / 0.8967 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.8125, allocations: 4 kB / 0.8967 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000448/0.813, allocations: 83.7 kB / 0.8967 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.813, allocations: 4.438 kB / 0.8967 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.813, allocations: 16 kB / 0.8968 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.813, allocations: 7.984 kB / 0.8968 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.813, allocations: 4 kB / 0.8968 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.815, allocations: 0.9446 MB / 0.8977 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/0.8153, allocations: 95.58 kB / 0.8978 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.8154, allocations: 12.06 kB / 0.8978 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/0.816, allocations: 39.95 kB / 0.8978 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.8161, allocations: 47.88 kB / 0.8979 GB, free: 472 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.8161, allocations: 12 kB / 0.8979 GB, free: 460 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005243/0.8167, allocations: 350.8 kB / 0.8982 GB, free: 112 kB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.8167, allocations: 4 kB / 0.8982 GB, free: 108 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007027/0.8174, allocations: 151.9 kB / 0.8984 GB, free: 15.95 MB / 0.67 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.0005438/0.8179, allocations: 206.3 kB / 0.8986 GB, free: 15.76 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.8193, allocations: 0.5608 MB / 0.8991 GB, free: 15.17 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.8193, allocations: 0 / 0.8991 GB, free: 15.17 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007459/0.82, allocations: 291.9 kB / 0.8994 GB, free: 14.89 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.8216, allocations: 278.1 kB / 0.8997 GB, free: 14.63 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.8237, allocations: 1.053 MB / 0.9007 GB, free: 13.51 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/0.8243, allocations: 0.8665 MB / 0.9015 GB, free: 12.61 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005059/0.8248, allocations: 132.6 kB / 0.9017 GB, free: 12.48 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.825, allocations: 47.44 kB / 0.9017 GB, free: 12.43 MB / 0.67 GB Notification: Performance of SimCode: time 1.012e-06/0.825, allocations: 3.938 kB / 0.9017 GB, free: 12.43 MB / 0.67 GB Notification: Performance of Templates: time 0.02252/0.8475, allocations: 11.14 MB / 0.9126 GB, free: 1.473 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.599292287603021] Failed to read output from testmodel.py, exit status != 0: 0.8558423817157745 0.872414366 0.08609183200000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f07aefbd7b0>