Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001354/0.001354, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001665/0.001665, allocations: 173 kB / 23.49 MB, free: 1.062 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 1.056/1.056, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.8149/0.8149, allocations: 154.8 MB / 415.1 MB, free: 0.4961 MB / 378.7 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 179] 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5206 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.261e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4397/0.4398, allocations: 163.8 MB / 0.6806 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005806/0.4456, allocations: 6.748 MB / 0.6872 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.4459, allocations: 17.94 kB / 0.6872 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.4464, allocations: 178 kB / 0.6874 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.4482, allocations: 0.8592 MB / 0.6882 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007727/0.4489, allocations: 394.3 kB / 0.6886 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007313/0.4497, allocations: 0.7094 MB / 0.6893 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.45, allocations: 231.4 kB / 0.6895 GB, free: 47.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.4514, allocations: 0.8233 MB / 0.6903 GB, free: 47.22 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.4517, allocations: 240.6 kB / 0.6905 GB, free: 47.22 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.4518, allocations: 22 kB / 0.6905 GB, free: 47.22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004615/0.4522, allocations: 290.1 kB / 0.6908 GB, free: 47.22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.4524, allocations: 117.6 kB / 0.6909 GB, free: 47.22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.4525, allocations: 111.8 kB / 0.691 GB, free: 47.22 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.453, allocations: 392.6 kB / 0.6914 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.453, allocations: 0 / 0.6914 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.232e-06/0.453, allocations: 0 / 0.6914 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.453, allocations: 0.8125 kB / 0.6914 GB, free: 47.19 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006193/0.4536, allocations: 0.6443 MB / 0.692 GB, free: 46.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4537, allocations: 11.34 kB / 0.692 GB, free: 46.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003156/0.454, allocations: 95.75 kB / 0.6921 GB, free: 46.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.4543, allocations: 277 kB / 0.6924 GB, free: 46.51 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.4543, allocations: 21.5 kB / 0.6924 GB, free: 46.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.4544, allocations: 25.84 kB / 0.6924 GB, free: 46.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.4547, allocations: 276.2 kB / 0.6927 GB, free: 46.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4547, allocations: 0.7812 kB / 0.6927 GB, free: 46.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.4547, allocations: 9.562 kB / 0.6927 GB, free: 46.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.4547, allocations: 6.375 kB / 0.6927 GB, free: 46.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.4549, allocations: 93.23 kB / 0.6928 GB, free: 46.38 MB / 0.6355 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.0009286/0.4558, allocations: 1.429 MB / 0.6942 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.456, allocations: 68.72 kB / 0.6943 GB, free: 45.26 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.456, allocations: 43.27 kB / 0.6943 GB, free: 45.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.4563, allocations: 64.09 kB / 0.6944 GB, free: 45.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.4563, allocations: 44.48 kB / 0.6944 GB, free: 45.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.4563, allocations: 0 / 0.6944 GB, free: 45.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0003799/0.4567, allocations: 148.9 kB / 0.6946 GB, free: 45.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.4567, allocations: 57.88 kB / 0.6946 GB, free: 45.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.4569, allocations: 278.6 kB / 0.6949 GB, free: 44.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.4569, allocations: 32.23 kB / 0.6949 GB, free: 44.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.457, allocations: 238.9 kB / 0.6951 GB, free: 44.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.457, allocations: 50.34 kB / 0.6952 GB, free: 44.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.4571, allocations: 48.81 kB / 0.6952 GB, free: 44.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.4571, allocations: 0.5031 MB / 0.6957 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.4571, allocations: 16.16 kB / 0.6957 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.494e-05/0.4572, allocations: 165.1 kB / 0.6959 GB, free: 44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.4573, allocations: 113.4 kB / 0.696 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4573, allocations: 0 / 0.696 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001897/0.4575, allocations: 142.2 kB / 0.6961 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4576, allocations: 7.719 kB / 0.6962 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4576, allocations: 3.562 kB / 0.6962 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4576, allocations: 2.812 kB / 0.6962 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4577, allocations: 30.61 kB / 0.6962 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4577, allocations: 6.188 kB / 0.6962 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.369e-05/0.4578, allocations: 13.58 kB / 0.6962 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.4578, allocations: 5.5 kB / 0.6962 GB, free: 43.88 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 7.316e-05/0.4579, allocations: 165.1 kB / 0.6964 GB, free: 43.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.4579, allocations: 32.42 kB / 0.6964 GB, free: 43.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.4581, allocations: 131.5 kB / 0.6965 GB, free: 43.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4581, allocations: 2.75 kB / 0.6965 GB, free: 43.67 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.4581, allocations: 0.8438 kB / 0.6965 GB, free: 43.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4581, allocations: 3.328 kB / 0.6965 GB, free: 43.67 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.4586, allocations: 0.5562 MB / 0.6971 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.4586, allocations: 2.906 kB / 0.6971 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/0.4587, allocations: 26.17 kB / 0.6971 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4587, allocations: 3.125 kB / 0.6971 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4587, allocations: 5.812 kB / 0.6971 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4587, allocations: 4.781 kB / 0.6971 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4587, allocations: 6.375 kB / 0.6971 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.4589, allocations: 323.5 kB / 0.6974 GB, free: 43.01 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.4589, allocations: 35 kB / 0.6975 GB, free: 42.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.4589, allocations: 6.281 kB / 0.6975 GB, free: 42.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.459, allocations: 9.469 kB / 0.6975 GB, free: 42.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.4591, allocations: 20.84 kB / 0.6975 GB, free: 42.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.4591, allocations: 6.062 kB / 0.6975 GB, free: 42.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.688e-05/0.4592, allocations: 194.3 kB / 0.6977 GB, free: 42.87 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4592, allocations: 0 / 0.6977 GB, free: 42.87 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003496/0.4595, allocations: 82.72 kB / 0.6978 GB, free: 42.86 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002066/0.4597, allocations: 142.3 kB / 0.6979 GB, free: 42.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001811/0.4599, allocations: 78.53 kB / 0.698 GB, free: 42.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4599, allocations: 0 / 0.698 GB, free: 42.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.015e-05/0.46, allocations: 48.86 kB / 0.698 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.4605, allocations: 87.03 kB / 0.6981 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.4614, allocations: 0.534 MB / 0.6986 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.718e-05/0.4615, allocations: 99.89 kB / 0.6987 GB, free: 42.31 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.4616, allocations: 43.09 kB / 0.6988 GB, free: 42.31 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.4616, allocations: 26 kB / 0.6988 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.4616, allocations: 0 / 0.6988 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.006584/0.4682, allocations: 3.751 MB / 0.7025 GB, free: 42.1 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4341345119755715]