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.001365/0.001365, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001506/0.001506, allocations: 161.1 kB / 22.46 MB, free: 5.375 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.49/1.49, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.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.235/1.235, allocations: 154.5 MB / 413.7 MB, free: 5.297 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.6185 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.971e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6596/0.6597, allocations: 160.5 MB / 0.7753 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01077/0.6704, allocations: 4.169 MB / 0.7794 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000873/0.6713, allocations: 26.62 kB / 0.7794 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.6724, allocations: 253.8 kB / 0.7796 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.6757, allocations: 0.7786 MB / 0.7804 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006415/0.6821, allocations: 1.635 MB / 0.782 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002335/0.6844, allocations: 1.271 MB / 0.7832 GB, free: 496 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009066/0.6853, allocations: 366.2 kB / 0.7836 GB, free: 236 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.688, allocations: 0.9922 MB / 0.7846 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007412/0.6888, allocations: 351.4 kB / 0.7849 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.6889, allocations: 44.81 kB / 0.7849 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/0.6924, allocations: 1.271 MB / 0.7862 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.6928, allocations: 195.8 kB / 0.7864 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004133/0.6932, allocations: 215.3 kB / 0.7866 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.6961, allocations: 1.319 MB / 0.7879 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.6961, allocations: 7.984 kB / 0.7879 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6961, allocations: 0 / 0.7879 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.6961, allocations: 0 / 0.7879 GB, free: 13.66 MB / 0.6387 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.002511/0.6987, allocations: 0.9639 MB / 0.7888 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.6987, allocations: 9.688 kB / 0.7888 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003356/0.702, allocations: 288.5 kB / 0.7891 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.7034, allocations: 405.1 kB / 0.7895 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.7035, allocations: 34.95 kB / 0.7895 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.7036, allocations: 41.91 kB / 0.7896 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.7052, allocations: 0.5507 MB / 0.7901 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.7052, allocations: 0 / 0.7901 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.7053, allocations: 18.89 kB / 0.7901 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.7053, allocations: 14.19 kB / 0.7901 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.707, allocations: 455.6 kB / 0.7906 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003501/0.7105, allocations: 1.705 MB / 0.7922 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.712, allocations: 386.8 kB / 0.7926 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007406/0.7127, allocations: 221.4 kB / 0.7928 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000746/0.7135, allocations: 90.33 kB / 0.7929 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009939/0.7145, allocations: 294 kB / 0.7932 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=37): time 3.156e-06/0.7145, allocations: 0 / 0.7932 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37): time 0.002796/0.7173, allocations: 0.6877 MB / 0.7938 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.7173, allocations: 54.19 kB / 0.7939 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007573/0.7181, allocations: 392 kB / 0.7943 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.658e-05/0.7182, allocations: 39.17 kB / 0.7943 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/0.7186, allocations: 274.1 kB / 0.7946 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.7188, allocations: 122.5 kB / 0.7947 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.719, allocations: 95.44 kB / 0.7948 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002428/0.7193, allocations: 360.2 kB / 0.7951 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008107/0.7201, allocations: 252.2 kB / 0.7954 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.7211, allocations: 496.9 kB / 0.7958 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.7228, allocations: 0.5449 MB / 0.7964 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.7228, allocations: 2.688 kB / 0.7964 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002133/0.7249, allocations: 0.6954 MB / 0.797 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.228e-05/0.725, allocations: 63.34 kB / 0.7971 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.725, allocations: 2.875 kB / 0.7971 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.725, allocations: 8.906 kB / 0.7971 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/0.7258, allocations: 96.41 kB / 0.7972 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.7258, allocations: 5.188 kB / 0.7972 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/0.7266, allocations: 74.45 kB / 0.7973 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.652e-05/0.7266, allocations: 27.14 kB / 0.7973 GB, free: 6.906 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.0003945/0.727, allocations: 197.3 kB / 0.7975 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.7271, allocations: 49.28 kB / 0.7975 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.729, allocations: 0.5297 MB / 0.7981 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.729, allocations: 6.125 kB / 0.7981 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.729, allocations: 2.719 kB / 0.7981 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.729, allocations: 0 / 0.7981 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/0.7324, allocations: 1.218 MB / 0.7993 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.7324, allocations: 3.031 kB / 0.7993 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/0.733, allocations: 81.56 kB / 0.7993 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.733, allocations: 5.031 kB / 0.7994 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/0.7331, allocations: 12.28 kB / 0.7994 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.7331, allocations: 5.156 kB / 0.7994 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.7331, allocations: 6.469 kB / 0.7994 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/0.7358, allocations: 0.9297 MB / 0.8003 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.7362, allocations: 93.02 kB / 0.8004 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.7363, allocations: 13.14 kB / 0.8004 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006338/0.7369, allocations: 41.62 kB / 0.8004 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.7371, allocations: 51.83 kB / 0.8005 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.285e-05/0.7372, allocations: 17.28 kB / 0.8005 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005132/0.7377, allocations: 260.3 kB / 0.8007 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7377, allocations: 0 / 0.8007 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001038/0.7388, allocations: 159.8 kB / 0.8009 GB, free: 4.598 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.0005388/0.7393, allocations: 180.5 kB / 0.8011 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001865/0.7412, allocations: 0.6232 MB / 0.8017 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.7412, allocations: 2.625 kB / 0.8017 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009359/0.7421, allocations: 281.9 kB / 0.8019 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.7437, allocations: 208.2 kB / 0.8021 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.7464, allocations: 0.9745 MB / 0.8031 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.7469, allocations: 269.9 kB / 0.8033 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006366/0.7475, allocations: 114.6 kB / 0.8035 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.7478, allocations: 43.11 kB / 0.8035 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of SimCode: time 1.153e-06/0.7478, allocations: 0 / 0.8035 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of Templates: time 0.0248/0.7726, allocations: 9.048 MB / 0.8123 GB, free: 13.31 MB / 0.6544 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.997762471437454] Failed to read output from testmodel.py, exit status != 0: 0.783143512904644 0.803342113 0.10389551100000001 Calling exit ...