Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001943/0.001943, allocations: 78.48 kB / 19.75 MB, free: 2.055 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.001436/0.001436, allocations: 156.9 kB / 23 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.388/1.388, allocations: 177.2 MB / 203.4 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 179] 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.8052/0.8052, allocations: 101.3 MB / 361.1 MB, free: 10.1 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [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.002007/0.002007, allocations: 63.97 kB / 0.5356 GB, free: 5.539 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.1687/0.1707, allocations: 85.89 MB / 0.6195 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5224/0.6931, allocations: 147.7 MB / 0.7638 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007805/0.7009, allocations: 5.994 MB / 0.7696 GB, free: 200 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004935/0.7014, allocations: 19.94 kB / 0.7696 GB, free: 188 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005854/0.702, allocations: 177.1 kB / 0.7698 GB, free: 32 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.7044, allocations: 0.8423 MB / 0.7706 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009856/0.7054, allocations: 345.4 kB / 0.771 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.000958/0.7063, allocations: 0.7222 MB / 0.7717 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003997/0.7067, allocations: 215.5 kB / 0.7719 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.708, allocations: 0.6634 MB / 0.7725 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003774/0.7083, allocations: 279.6 kB / 0.7728 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.7084, allocations: 26.44 kB / 0.7728 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005634/0.7089, allocations: 296.1 kB / 0.7731 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.7091, allocations: 111.4 kB / 0.7732 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.7092, allocations: 144.7 kB / 0.7733 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006481/0.7099, allocations: 465 kB / 0.7738 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7099, allocations: 2.438 kB / 0.7738 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7099, allocations: 0 / 0.7738 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.7099, allocations: 0 / 0.7738 GB, free: 13.41 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009106/0.7108, allocations: 0.5517 MB / 0.7743 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.7108, allocations: 12.16 kB / 0.7743 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003076/0.7112, allocations: 67.27 kB / 0.7744 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.7117, allocations: 261.7 kB / 0.7746 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.7117, allocations: 19.16 kB / 0.7747 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.7117, allocations: 30.88 kB / 0.7747 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.7123, allocations: 320.6 kB / 0.775 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.7123, allocations: 0 / 0.775 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.7123, allocations: 11.22 kB / 0.775 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.7123, allocations: 5.188 kB / 0.775 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.7127, allocations: 209.7 kB / 0.7752 GB, free: 12.32 MB / 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.001377/0.7141, allocations: 1.123 MB / 0.7763 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.7143, allocations: 107.5 kB / 0.7764 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.7145, allocations: 87.7 kB / 0.7765 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004771/0.715, allocations: 77.09 kB / 0.7766 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.715, allocations: 30.81 kB / 0.7766 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.715, allocations: 2.719 kB / 0.7766 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0007434/0.7158, allocations: 276.2 kB / 0.7769 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.7158, allocations: 53.59 kB / 0.7769 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.716, allocations: 225.6 kB / 0.7771 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.7161, allocations: 27.98 kB / 0.7772 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.7162, allocations: 199.1 kB / 0.7774 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.7163, allocations: 52.88 kB / 0.7774 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.7163, allocations: 38.95 kB / 0.7774 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.7165, allocations: 332.1 kB / 0.7778 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.7166, allocations: 57.67 kB / 0.7778 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.7169, allocations: 191 kB / 0.778 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.7172, allocations: 177.5 kB / 0.7782 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.7172, allocations: 7.875 kB / 0.7782 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004041/0.7176, allocations: 214.3 kB / 0.7784 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.7176, allocations: 7.781 kB / 0.7784 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.7176, allocations: 6.562 kB / 0.7784 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.7177, allocations: 2.531 kB / 0.7784 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.7178, allocations: 27.86 kB / 0.7784 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.7178, allocations: 2.969 kB / 0.7784 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.718, allocations: 24.17 kB / 0.7784 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.718, allocations: 15.3 kB / 0.7785 GB, free: 9.688 MB / 0.6231 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 0.0001562/0.7182, allocations: 161 kB / 0.7786 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.7182, allocations: 19.36 kB / 0.7786 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.7186, allocations: 196.7 kB / 0.7788 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.7186, allocations: 2.844 kB / 0.7788 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7186, allocations: 3.938 kB / 0.7788 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7186, allocations: 0 / 0.7788 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009636/0.7196, allocations: 0.5997 MB / 0.7794 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7196, allocations: 0 / 0.7794 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.7197, allocations: 25.36 kB / 0.7794 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.7197, allocations: 2.438 kB / 0.7794 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.7197, allocations: 3.031 kB / 0.7794 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.7197, allocations: 7.844 kB / 0.7794 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.7198, allocations: 14.55 kB / 0.7795 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.7202, allocations: 324.2 kB / 0.7798 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.394e-05/0.7203, allocations: 37 kB / 0.7798 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.7203, allocations: 6.781 kB / 0.7798 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.7204, allocations: 9.422 kB / 0.7798 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.7205, allocations: 16.92 kB / 0.7798 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.7205, allocations: 9 kB / 0.7798 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001343/0.7206, allocations: 167.3 kB / 0.78 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7206, allocations: 0 / 0.78 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003782/0.721, allocations: 86.08 kB / 0.7801 GB, free: 8.445 MB / 0.6231 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.0002374/0.7212, allocations: 135.3 kB / 0.7802 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004067/0.7217, allocations: 165.3 kB / 0.7804 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7217, allocations: 0 / 0.7804 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.7218, allocations: 78.44 kB / 0.7804 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.7224, allocations: 84.58 kB / 0.7805 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008322/0.7233, allocations: 0.5398 MB / 0.7811 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.7234, allocations: 182.5 kB / 0.7812 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001435/0.7236, allocations: 57.25 kB / 0.7813 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.7236, allocations: 21.66 kB / 0.7813 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.7236, allocations: 0 / 0.7813 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of Templates: time 0.008169/0.7318, allocations: 3.653 MB / 0.7849 GB, free: 5.789 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.836648870725185] Failed to read output from testmodel.py, exit status != 0: 0.7391588282771409 0.752835567 0.040077745000000005 Calling exit ...