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.00146/0.00146, allocations: 80.2 kB / 19.76 MB, free: 2.027 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.00153/0.00153, allocations: 158.4 kB / 23.01 MB, free: 4.949 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.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 8.941 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.8151/0.8151, allocations: 101.3 MB / 361.1 MB, free: 9.535 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.002133/0.002133, allocations: 62.75 kB / 0.5356 GB, free: 5.188 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.1615/0.1636, allocations: 85.89 MB / 0.6195 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5823/0.7459, allocations: 160.6 MB / 0.7764 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007327/0.7532, allocations: 4.156 MB / 0.7804 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007791/0.754, allocations: 26.28 kB / 0.7805 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008258/0.7548, allocations: 254 kB / 0.7807 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.7572, allocations: 0.766 MB / 0.7815 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004219/0.7614, allocations: 1.542 MB / 0.783 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001859/0.7633, allocations: 1.272 MB / 0.7842 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006216/0.7639, allocations: 365.8 kB / 0.7845 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.7651, allocations: 0.602 MB / 0.7851 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006252/0.7658, allocations: 407.5 kB / 0.7855 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.122e-05/0.7658, allocations: 45.72 kB / 0.7856 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.7684, allocations: 1.259 MB / 0.7868 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.7687, allocations: 195.9 kB / 0.787 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.769, allocations: 256.4 kB / 0.7872 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.7711, allocations: 1.26 MB / 0.7885 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7712, allocations: 0 / 0.7885 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7712, allocations: 0 / 0.7885 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.7712, allocations: 3.938 kB / 0.7885 GB, free: 2.16 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.001888/0.7731, allocations: 0.9813 MB / 0.7894 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.7731, allocations: 15.17 kB / 0.7894 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/0.7752, allocations: 284.8 kB / 0.7897 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009475/0.7761, allocations: 408 kB / 0.7901 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.7762, allocations: 31.56 kB / 0.7901 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/0.7762, allocations: 45.33 kB / 0.7902 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.7773, allocations: 0.5442 MB / 0.7907 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.7774, allocations: 0 / 0.7907 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.7774, allocations: 25.34 kB / 0.7907 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.7774, allocations: 14.17 kB / 0.7907 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.7785, allocations: 458.3 kB / 0.7912 GB, free: 308 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.002791/0.7813, allocations: 1.687 MB / 0.7928 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009989/0.7823, allocations: 394.1 kB / 0.7932 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/0.7828, allocations: 212.8 kB / 0.7934 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005796/0.7833, allocations: 94.72 kB / 0.7935 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006929/0.784, allocations: 285.2 kB / 0.7938 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=37): time 2.885e-06/0.784, allocations: 0 / 0.7938 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37): time 0.001935/0.786, allocations: 0.6845 MB / 0.7944 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.786, allocations: 60.58 kB / 0.7945 GB, free: 14 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/0.7866, allocations: 383.8 kB / 0.7949 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.747e-05/0.7866, allocations: 38.89 kB / 0.7949 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.7869, allocations: 278.2 kB / 0.7952 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.787, allocations: 130.5 kB / 0.7953 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.7872, allocations: 91.8 kB / 0.7954 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.7874, allocations: 357.7 kB / 0.7957 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/0.7879, allocations: 254.8 kB / 0.796 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007067/0.7886, allocations: 0.4895 MB / 0.7964 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.7897, allocations: 0.5382 MB / 0.797 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7897, allocations: 4 kB / 0.797 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001393/0.7911, allocations: 0.7113 MB / 0.7977 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.052e-05/0.7912, allocations: 65.23 kB / 0.7977 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.7912, allocations: 1.969 kB / 0.7977 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.7912, allocations: 6.281 kB / 0.7977 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.7917, allocations: 92.81 kB / 0.7978 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.7917, allocations: 12.84 kB / 0.7978 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005405/0.7922, allocations: 73.69 kB / 0.7979 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.7923, allocations: 20.25 kB / 0.7979 GB, free: 11.4 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.0003133/0.7926, allocations: 196.1 kB / 0.7981 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.329e-05/0.7927, allocations: 49.03 kB / 0.7982 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.794, allocations: 0.5398 MB / 0.7987 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.794, allocations: 2.562 kB / 0.7987 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.794, allocations: 3.188 kB / 0.7987 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.794, allocations: 3.984 kB / 0.7987 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.7963, allocations: 1.214 MB / 0.7999 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7963, allocations: 2.938 kB / 0.7999 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.7968, allocations: 73.95 kB / 0.7999 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.7968, allocations: 12.81 kB / 0.8 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.7968, allocations: 13.55 kB / 0.8 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.7968, allocations: 7.469 kB / 0.8 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.7968, allocations: 6.125 kB / 0.8 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.7987, allocations: 0.9312 MB / 0.8009 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.7989, allocations: 89.98 kB / 0.801 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/0.799, allocations: 11.91 kB / 0.801 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/0.7994, allocations: 34.64 kB / 0.801 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.7995, allocations: 50.5 kB / 0.8011 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.7996, allocations: 22.7 kB / 0.8011 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003457/0.7999, allocations: 260.4 kB / 0.8013 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7999, allocations: 0 / 0.8013 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007038/0.8006, allocations: 160.2 kB / 0.8015 GB, free: 9.09 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.0003653/0.801, allocations: 178.1 kB / 0.8017 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.8023, allocations: 0.6262 MB / 0.8023 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8023, allocations: 0 / 0.8023 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006344/0.8029, allocations: 270.8 kB / 0.8025 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.804, allocations: 198.4 kB / 0.8027 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.806, allocations: 1.046 MB / 0.8037 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.8063, allocations: 277.9 kB / 0.804 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003858/0.8067, allocations: 104.7 kB / 0.8041 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.8068, allocations: 41.69 kB / 0.8042 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of SimCode: time 1.082e-06/0.8068, allocations: 0 / 0.8042 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of Templates: time 0.01828/0.8251, allocations: 9.13 MB / 0.8131 GB, free: 14.84 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 ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.555669434019364] Failed to read output from testmodel.py, exit status != 0: 0.8338036530185491 0.850659751 0.075996561 Calling exit ...