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.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.001747/0.001747, allocations: 77.39 kB / 19.76 MB, free: 2.039 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.001489/0.001489, allocations: 157.3 kB / 23 MB, free: 4.945 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.397/1.397, allocations: 177.2 MB / 203.4 MB, free: 9.277 MB / 190.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.8019/0.8019, allocations: 101.3 MB / 361.1 MB, free: 10.08 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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: 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.00208/0.00208, allocations: 66.7 kB / 0.5356 GB, free: 5.512 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1563, allocations: 85.88 MB / 0.6195 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5548/0.7111, allocations: 160.5 MB / 0.7763 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006812/0.7179, allocations: 4.14 MB / 0.7803 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008158/0.7188, allocations: 28.97 kB / 0.7803 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008974/0.7197, allocations: 243.8 kB / 0.7806 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002381/0.722, allocations: 0.7698 MB / 0.7813 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004136/0.7262, allocations: 1.544 MB / 0.7828 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002058/0.7282, allocations: 1.275 MB / 0.7841 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007567/0.729, allocations: 368.7 kB / 0.7844 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.7306, allocations: 0.7719 MB / 0.7852 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000742/0.7314, allocations: 411.5 kB / 0.7856 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.7315, allocations: 45.59 kB / 0.7856 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.734, allocations: 1.26 MB / 0.7869 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.7343, allocations: 192.6 kB / 0.787 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004366/0.7348, allocations: 258.8 kB / 0.7873 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.7374, allocations: 1.26 MB / 0.7885 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7374, allocations: 0 / 0.7885 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7374, allocations: 0 / 0.7885 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.769e-05/0.7375, allocations: 0 / 0.7885 GB, free: 2.34 MB / 0.6231 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.002201/0.7397, allocations: 0.9812 MB / 0.7895 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.7397, allocations: 15.97 kB / 0.7895 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.7418, allocations: 288.4 kB / 0.7898 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.7429, allocations: 399.9 kB / 0.7901 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.7429, allocations: 36.38 kB / 0.7902 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-05/0.743, allocations: 41.78 kB / 0.7902 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.7441, allocations: 0.5483 MB / 0.7908 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.7442, allocations: 0 / 0.7908 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.7442, allocations: 20.97 kB / 0.7908 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.7442, allocations: 11.16 kB / 0.7908 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.7453, allocations: 459.6 kB / 0.7912 GB, free: 496 kB / 0.6231 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.002694/0.748, allocations: 1.693 MB / 0.7929 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.7491, allocations: 387.7 kB / 0.7932 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/0.7496, allocations: 214.7 kB / 0.7934 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005731/0.7501, allocations: 94.22 kB / 0.7935 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006859/0.7508, allocations: 287.9 kB / 0.7938 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=37): time 2.775e-06/0.7508, allocations: 4 kB / 0.7938 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37): time 0.001808/0.7526, allocations: 0.6838 MB / 0.7945 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.7527, allocations: 56.94 kB / 0.7945 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.7531, allocations: 380.8 kB / 0.7949 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.7532, allocations: 36.23 kB / 0.7949 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.7534, allocations: 281.6 kB / 0.7952 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.7535, allocations: 131 kB / 0.7953 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.7537, allocations: 94.42 kB / 0.7954 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.7539, allocations: 360.7 kB / 0.7958 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/0.7544, allocations: 252.7 kB / 0.796 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006805/0.7551, allocations: 0.4918 MB / 0.7965 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.7561, allocations: 0.5367 MB / 0.797 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.7561, allocations: 6.875 kB / 0.797 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001393/0.7575, allocations: 0.7076 MB / 0.7977 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.975e-05/0.7576, allocations: 59.75 kB / 0.7978 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.7576, allocations: 2.375 kB / 0.7978 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.7576, allocations: 9.453 kB / 0.7978 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.7581, allocations: 91.98 kB / 0.7979 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.7581, allocations: 12.89 kB / 0.7979 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/0.7586, allocations: 70.53 kB / 0.7979 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.7586, allocations: 20.12 kB / 0.798 GB, free: 11.58 MB / 0.6387 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.0002582/0.7589, allocations: 188.3 kB / 0.7981 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/0.759, allocations: 45.5 kB / 0.7982 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.7602, allocations: 0.5405 MB / 0.7987 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.7602, allocations: 8.938 kB / 0.7987 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.7602, allocations: 0 / 0.7987 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.7602, allocations: 3.984 kB / 0.7987 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.7625, allocations: 1.218 MB / 0.7999 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.7625, allocations: 4.875 kB / 0.7999 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.7629, allocations: 73.64 kB / 0.8 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.7629, allocations: 13.88 kB / 0.8 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.7629, allocations: 15.92 kB / 0.8 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.7629, allocations: 8.219 kB / 0.8 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.763, allocations: 6.469 kB / 0.8 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.7647, allocations: 0.9264 MB / 0.8009 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.7649, allocations: 90.41 kB / 0.801 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/0.765, allocations: 12.09 kB / 0.801 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.7654, allocations: 34.73 kB / 0.8011 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.7655, allocations: 48 kB / 0.8011 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.7655, allocations: 17.16 kB / 0.8011 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003112/0.7659, allocations: 268.6 kB / 0.8014 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7659, allocations: 0 / 0.8014 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006329/0.7665, allocations: 163.6 kB / 0.8015 GB, free: 9.27 MB / 0.6387 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.0003209/0.7668, allocations: 178.9 kB / 0.8017 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.768, allocations: 0.6265 MB / 0.8023 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.768, allocations: 0 / 0.8023 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006371/0.7687, allocations: 270.1 kB / 0.8026 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.7698, allocations: 210.2 kB / 0.8028 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.7716, allocations: 1.042 MB / 0.8038 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.7719, allocations: 273.8 kB / 0.8041 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003709/0.7722, allocations: 108 kB / 0.8042 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.7724, allocations: 42.41 kB / 0.8042 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.7724, allocations: 3.938 kB / 0.8042 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of Templates: time 0.017/0.7894, allocations: 9.1 MB / 0.8131 GB, free: 15.15 MB / 0.6544 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.249377056956291] Failed to read output from testmodel.py, exit status != 0: 0.7975093242712319 0.81260006 0.071968298 Calling exit ...