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.001311/0.001311, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001444/0.001444, allocations: 163.5 kB / 23.01 MB, free: 4.598 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.527/1.527, allocations: 177.2 MB / 203.4 MB, free: 8.914 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.8332/0.8332, allocations: 101.3 MB / 361.1 MB, free: 8.789 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.002161/0.002161, allocations: 67.53 kB / 0.5356 GB, free: 12.69 MB / 462.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.1747/0.1769, allocations: 85.89 MB / 0.6195 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5408/0.7176, allocations: 147.8 MB / 0.7638 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008202/0.7258, allocations: 6.019 MB / 0.7697 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004541/0.7263, allocations: 15.88 kB / 0.7697 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.7268, allocations: 166.7 kB / 0.7699 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.729, allocations: 0.848 MB / 0.7707 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009451/0.73, allocations: 342 kB / 0.771 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009457/0.7309, allocations: 0.7253 MB / 0.7717 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.7313, allocations: 218.9 kB / 0.7719 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.7326, allocations: 0.5721 MB / 0.7725 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004499/0.733, allocations: 274.9 kB / 0.7728 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.7331, allocations: 24 kB / 0.7728 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006283/0.7337, allocations: 291.2 kB / 0.7731 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.7338, allocations: 119.6 kB / 0.7732 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.734, allocations: 135.4 kB / 0.7733 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000665/0.7347, allocations: 477.5 kB / 0.7738 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.7347, allocations: 0 / 0.7738 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7347, allocations: 0 / 0.7738 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.7347, allocations: 0 / 0.7738 GB, free: 5.566 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000865/0.7355, allocations: 0.5477 MB / 0.7743 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.7356, allocations: 16.92 kB / 0.7743 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002996/0.7359, allocations: 63.67 kB / 0.7744 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/0.7364, allocations: 264 kB / 0.7746 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.7364, allocations: 28.59 kB / 0.7746 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.7365, allocations: 24 kB / 0.7747 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.737, allocations: 317 kB / 0.775 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.7371, allocations: 0 / 0.775 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.7371, allocations: 12 kB / 0.775 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.7371, allocations: 4 kB / 0.775 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.7375, allocations: 209.7 kB / 0.7752 GB, free: 4.02 MB / 0.6387 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.001389/0.7389, allocations: 1.125 MB / 0.7763 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.7392, allocations: 116.5 kB / 0.7764 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.7393, allocations: 84.8 kB / 0.7765 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004782/0.7398, allocations: 75.91 kB / 0.7765 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.7398, allocations: 30.56 kB / 0.7766 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.7398, allocations: 0 / 0.7766 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0007503/0.7406, allocations: 277.6 kB / 0.7768 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.7406, allocations: 51.41 kB / 0.7769 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.7409, allocations: 225.9 kB / 0.7771 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.7409, allocations: 33.7 kB / 0.7771 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.741, allocations: 184.2 kB / 0.7773 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.7411, allocations: 59.52 kB / 0.7774 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.7412, allocations: 33.7 kB / 0.7774 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.7413, allocations: 338.8 kB / 0.7777 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.7415, allocations: 51.95 kB / 0.7778 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.7417, allocations: 202.2 kB / 0.778 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.742, allocations: 172.2 kB / 0.7781 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.742, allocations: 3.938 kB / 0.7781 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004245/0.7425, allocations: 217.3 kB / 0.7783 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.7425, allocations: 4 kB / 0.7783 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.7425, allocations: 4 kB / 0.7784 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.7425, allocations: 0 / 0.7784 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.7427, allocations: 35.98 kB / 0.7784 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.7427, allocations: 3.938 kB / 0.7784 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.7428, allocations: 19.88 kB / 0.7784 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.7429, allocations: 16.16 kB / 0.7784 GB, free: 0.5234 MB / 0.6387 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.0001521/0.743, allocations: 149.8 kB / 0.7786 GB, free: 376 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.7431, allocations: 23.84 kB / 0.7786 GB, free: 352 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.7435, allocations: 204.2 kB / 0.7788 GB, free: 144 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.7435, allocations: 4 kB / 0.7788 GB, free: 140 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7435, allocations: 0 / 0.7788 GB, free: 140 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.7435, allocations: 0 / 0.7788 GB, free: 140 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.7445, allocations: 0.6042 MB / 0.7794 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7445, allocations: 0 / 0.7794 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.7447, allocations: 31.92 kB / 0.7794 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.7447, allocations: 0 / 0.7794 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.7447, allocations: 8 kB / 0.7794 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.7447, allocations: 8.156 kB / 0.7794 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7447, allocations: 7.938 kB / 0.7794 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.7452, allocations: 332 kB / 0.7797 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/0.7452, allocations: 35.84 kB / 0.7798 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.7453, allocations: 4 kB / 0.7798 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.7454, allocations: 11.92 kB / 0.7798 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.7455, allocations: 19.92 kB / 0.7798 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.7455, allocations: 4 kB / 0.7798 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001513/0.7456, allocations: 169.2 kB / 0.78 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7456, allocations: 0 / 0.78 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004103/0.746, allocations: 83.77 kB / 0.7801 GB, free: 14.74 MB / 0.6544 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.000249/0.7463, allocations: 131.1 kB / 0.7802 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003999/0.7467, allocations: 155.8 kB / 0.7803 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7467, allocations: 0 / 0.7803 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.7469, allocations: 79.81 kB / 0.7804 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005968/0.7475, allocations: 97.14 kB / 0.7805 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008667/0.7483, allocations: 0.5332 MB / 0.781 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.7485, allocations: 179.4 kB / 0.7812 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001375/0.7487, allocations: 47.48 kB / 0.7812 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.7487, allocations: 20.5 kB / 0.7813 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.7487, allocations: 0 / 0.7813 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.0083/0.757, allocations: 3.696 MB / 0.7849 GB, free: 9.852 MB / 0.6544 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 ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.218673244002275] Failed to read output from testmodel.py, exit status != 0: 0.765555088990368 0.779835608 0.042029956 Calling exit ...