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.0008097/0.0008097, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009275/0.0009275, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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 0.9548/0.9548, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7945/0.7945, allocations: 154.6 MB / 414.5 MB, free: 0.6484 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 3.938 kB / 0.5203 GB, free: 1.062 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.098e-05, allocations: 5.375 kB / 0.5203 GB, free: 1.059 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4728/0.4728, allocations: 147.9 MB / 0.6648 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003318/0.4761, allocations: 1.779 MB / 0.6666 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005229/0.4766, allocations: 28.44 kB / 0.6666 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004719/0.4771, allocations: 137.3 kB / 0.6667 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.4784, allocations: 0.4973 MB / 0.6672 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.48, allocations: 0.7002 MB / 0.6679 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00181/0.4819, allocations: 1.254 MB / 0.6691 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007002/0.4826, allocations: 379.7 kB / 0.6695 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.4837, allocations: 0.6252 MB / 0.6701 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.4843, allocations: 356.6 kB / 0.6704 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.4844, allocations: 45.38 kB / 0.6705 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007131/0.4851, allocations: 329.9 kB / 0.6708 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.4854, allocations: 203 kB / 0.671 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.4857, allocations: 217.4 kB / 0.6712 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.4867, allocations: 0.6373 MB / 0.6718 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4867, allocations: 0 / 0.6718 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4867, allocations: 0 / 0.6718 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.836e-05/0.4867, allocations: 1.094 kB / 0.6718 GB, free: 15.5 MB / 0.5573 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.001409/0.4881, allocations: 0.978 MB / 0.6728 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.4882, allocations: 8.188 kB / 0.6728 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.4897, allocations: 383.4 kB / 0.6731 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006835/0.4904, allocations: 438.8 kB / 0.6736 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.4905, allocations: 36.17 kB / 0.6736 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.236e-05/0.4905, allocations: 43.38 kB / 0.6736 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.4911, allocations: 429.2 kB / 0.674 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4911, allocations: 2.438 kB / 0.674 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.4912, allocations: 19.97 kB / 0.6741 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.4912, allocations: 11.62 kB / 0.6741 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.4916, allocations: 175.7 kB / 0.6742 GB, free: 14.37 MB / 0.5573 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.001678/0.4932, allocations: 2.035 MB / 0.6762 GB, free: 13 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.4936, allocations: 171.9 kB / 0.6764 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.4938, allocations: 80.34 kB / 0.6765 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002581/0.494, allocations: 55.25 kB / 0.6765 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.4943, allocations: 170.8 kB / 0.6767 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=37): time 2.535e-06/0.4943, allocations: 0 / 0.6767 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=37): time 0.0007217/0.495, allocations: 349 kB / 0.677 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.495, allocations: 64.78 kB / 0.6771 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.4953, allocations: 415.5 kB / 0.6775 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.4954, allocations: 38.59 kB / 0.6775 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.4955, allocations: 324.2 kB / 0.6778 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.703e-05/0.4956, allocations: 130.5 kB / 0.6779 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.4957, allocations: 99.09 kB / 0.678 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.4958, allocations: 0.5249 MB / 0.6786 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.496, allocations: 114.4 kB / 0.6787 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.4962, allocations: 397.7 kB / 0.679 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.4966, allocations: 335.4 kB / 0.6794 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4966, allocations: 3.281 kB / 0.6794 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005919/0.4972, allocations: 464.1 kB / 0.6798 GB, free: 10.87 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.4972, allocations: 66.19 kB / 0.6799 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4972, allocations: 4.703 kB / 0.6799 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.4972, allocations: 10.03 kB / 0.6799 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.4975, allocations: 92.55 kB / 0.68 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4975, allocations: 7.625 kB / 0.68 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.4978, allocations: 62.28 kB / 0.68 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.4978, allocations: 24.31 kB / 0.6801 GB, free: 10.78 MB / 0.5573 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.0001235/0.498, allocations: 183.3 kB / 0.6802 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.498, allocations: 65.72 kB / 0.6803 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.4985, allocations: 303.4 kB / 0.6806 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4985, allocations: 2.594 kB / 0.6806 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4985, allocations: 2.719 kB / 0.6806 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.4985, allocations: 5.031 kB / 0.6806 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.4996, allocations: 0.9315 MB / 0.6815 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.4996, allocations: 10.88 kB / 0.6815 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.4999, allocations: 68.33 kB / 0.6816 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4999, allocations: 3.031 kB / 0.6816 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.4999, allocations: 15.56 kB / 0.6816 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.4999, allocations: 7.578 kB / 0.6816 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.4999, allocations: 5.406 kB / 0.6816 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006419/0.5005, allocations: 0.5955 MB / 0.6822 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.5007, allocations: 84.14 kB / 0.6823 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.5007, allocations: 16.03 kB / 0.6823 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.501, allocations: 25.22 kB / 0.6823 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.5011, allocations: 50.81 kB / 0.6824 GB, free: 9.617 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.5011, allocations: 16.62 kB / 0.6824 GB, free: 9.617 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001856/0.5013, allocations: 267.2 kB / 0.6826 GB, free: 9.496 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5013, allocations: 0 / 0.6826 GB, free: 9.496 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005414/0.5018, allocations: 163.9 kB / 0.6828 GB, free: 9.477 MB / 0.5573 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.0002521/0.5021, allocations: 151.2 kB / 0.6829 GB, free: 9.379 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004695/0.5025, allocations: 399.3 kB / 0.6833 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5025, allocations: 0 / 0.6833 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.5027, allocations: 120.7 kB / 0.6834 GB, free: 9.156 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000842/0.5036, allocations: 221.1 kB / 0.6836 GB, free: 9.125 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.5051, allocations: 0.9767 MB / 0.6846 GB, free: 8.504 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.928e-05/0.5052, allocations: 131.6 kB / 0.6847 GB, free: 8.434 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002967/0.5055, allocations: 95.53 kB / 0.6848 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.5056, allocations: 45.39 kB / 0.6849 GB, free: 8.395 MB / 0.5573 GB Notification: Performance of SimCode: time 6.31e-07/0.5056, allocations: 0 / 0.6849 GB, free: 8.395 MB / 0.5573 GB Notification: Performance of Templates: time 0.01221/0.5178, allocations: 8.797 MB / 0.6934 GB, free: 7.277 MB / 0.5573 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.624600801151246]