Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 114.8 kB / 17.08 MB, free: 5.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 191.7 kB / 20.03 MB, free: 3.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.209/1.209, allocations: 173.4 MB / 471.3 MB, free: 6.949 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 70.27 kB / 0.649 GB, free: 22.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.2003, allocations: 89.53 MB / 0.7364 GB, free: 3.672 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.7245/0.9249, allocations: 195.1 MB / 0.927 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01869/0.9437, allocations: 14.32 MB / 0.941 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.9459, allocations: 35.53 kB / 0.941 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002219/0.9482, allocations: 0.4976 MB / 0.9415 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006382/0.9546, allocations: 1.89 MB / 0.9433 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.9577, allocations: 0.8607 MB / 0.9442 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004718/0.9624, allocations: 2.576 MB / 0.9467 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/0.9646, allocations: 1.109 MB / 0.9478 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005871/0.9704, allocations: 1.793 MB / 0.9495 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/0.9726, allocations: 0.9044 MB / 0.9504 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.9728, allocations: 105 kB / 0.9505 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.9755, allocations: 1.092 MB / 0.9516 GB, free: 6.801 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006024/0.9762, allocations: 0.4993 MB / 0.9521 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009313/0.9771, allocations: 0.6362 MB / 0.9527 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003637/0.9807, allocations: 1.916 MB / 0.9546 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.9808, allocations: 0 / 0.9546 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of FrontEnd: time 5.641e-06/0.9808, allocations: 0 / 0.9546 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.593e-05/0.9808, allocations: 3.938 kB / 0.9546 GB, free: 4.906 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002687/0.9835, allocations: 1.487 MB / 0.956 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.9836, allocations: 10.06 kB / 0.956 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.985, allocations: 264.2 kB / 0.9563 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.9864, allocations: 0.7955 MB / 0.9571 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/0.9865, allocations: 68.06 kB / 0.9571 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.9866, allocations: 93.77 kB / 0.9572 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.9885, allocations: 1.167 MB / 0.9583 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/0.9885, allocations: 19.88 kB / 0.9584 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-05/0.9886, allocations: 41.5 kB / 0.9584 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/0.9887, allocations: 36.58 kB / 0.9584 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.9901, allocations: 0.8976 MB / 0.9593 GB, free: 1.738 MB / 0.6856 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.006712/0.9968, allocations: 5.823 MB / 0.965 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008941/0.9977, allocations: 0.529 MB / 0.9655 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/0.9981, allocations: 320.2 kB / 0.9658 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006238/0.9988, allocations: 316 kB / 0.9661 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.9988, allocations: 36.91 kB / 0.9662 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.785e-06/0.9988, allocations: 0 / 0.9662 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.001588/1, allocations: 0.8107 MB / 0.967 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/1, allocations: 56.91 kB / 0.967 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009482/1.001, allocations: 0.759 MB / 0.9677 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/1.002, allocations: 32.45 kB / 0.9678 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/1.002, allocations: 0.5213 MB / 0.9683 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/1.002, allocations: 183.6 kB / 0.9685 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/1.002, allocations: 140.2 kB / 0.9686 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.003, allocations: 336.8 kB / 0.9689 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/1.003, allocations: 244 kB / 0.9692 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006885/1.004, allocations: 0.5556 MB / 0.9697 GB, free: 9.066 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/1.005, allocations: 0.8038 MB / 0.9705 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.005, allocations: 2.094 kB / 0.9705 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001317/1.006, allocations: 0.8493 MB / 0.9713 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.006, allocations: 9.438 kB / 0.9713 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.006, allocations: 7.75 kB / 0.9713 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/1.006, allocations: 13 kB / 0.9713 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/1.007, allocations: 157.7 kB / 0.9715 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/1.007, allocations: 20.05 kB / 0.9715 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007641/1.008, allocations: 103.8 kB / 0.9716 GB, free: 7.895 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/1.008, allocations: 34.22 kB / 0.9716 GB, free: 7.891 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0005196/1.008, allocations: 330.4 kB / 0.972 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/1.008, allocations: 87.5 kB / 0.972 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/1.009, allocations: 0.6158 MB / 0.9726 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/1.009, allocations: 4.844 kB / 0.9726 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.009, allocations: 4 kB / 0.9726 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007921/1.01, allocations: 0.5253 MB / 0.9732 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/1.013, allocations: 1.66 MB / 0.9748 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.013, allocations: 0 / 0.9748 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/1.013, allocations: 113.3 kB / 0.9749 GB, free: 5.809 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.013, allocations: 4.719 kB / 0.9749 GB, free: 5.809 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/1.013, allocations: 19.75 kB / 0.9749 GB, free: 5.797 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/1.013, allocations: 2.406 kB / 0.9749 GB, free: 5.797 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.013, allocations: 6.578 kB / 0.9749 GB, free: 5.793 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/1.015, allocations: 1.028 MB / 0.9759 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/1.015, allocations: 224.2 kB / 0.9761 GB, free: 4.969 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/1.015, allocations: 16.86 kB / 0.9762 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/1.016, allocations: 15.97 kB / 0.9762 GB, free: 4.949 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/1.016, allocations: 30.73 kB / 0.9762 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/1.016, allocations: 18.75 kB / 0.9762 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008953/1.017, allocations: 0.5161 MB / 0.9767 GB, free: 4.637 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/1.017, allocations: 0 / 0.9767 GB, free: 4.637 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001286/1.018, allocations: 300.1 kB / 0.977 GB, free: 4.496 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.0007652/1.019, allocations: 223.8 kB / 0.9772 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001293/1.02, allocations: 0.6039 MB / 0.9778 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.02, allocations: 0 / 0.9778 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004455/1.021, allocations: 280.2 kB / 0.9781 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/1.023, allocations: 437 kB / 0.9785 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/1.026, allocations: 2.037 MB / 0.9805 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008895/1.027, allocations: 1.122 MB / 0.9816 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/1.028, allocations: 83.36 kB / 0.9817 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of SimCode: time 9.52e-07/1.028, allocations: 0 / 0.9817 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of Templates: time 0.02553/1.053, allocations: 14.64 MB / 0.996 GB, free: 1.145 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.30768925882876] Failed to read output from testmodel.py, exit status != 0: 1.0606915128882974 1.074589756 0.091173764 Calling exit ...