Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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.001916/0.001916, allocations: 79.73 kB / 19.76 MB, free: 1.898 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.002395/0.002395, allocations: 159.4 kB / 23.01 MB, free: 4.574 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.538/1.538, allocations: 177.2 MB / 203.4 MB, free: 9.285 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.8179/0.8179, allocations: 101.3 MB / 361.1 MB, free: 10.06 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.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") [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.002142/0.002142, allocations: 67.48 kB / 0.5356 GB, free: 5.379 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.1973/0.1995, allocations: 85.89 MB / 0.6195 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.7067/0.9062, allocations: 172.5 MB / 0.788 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02008/0.9262, allocations: 13.12 MB / 0.8008 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.9281, allocations: 51.53 kB / 0.8008 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.93, allocations: 0.4886 MB / 0.8013 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006403/0.9364, allocations: 1.939 MB / 0.8032 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.9395, allocations: 0.8817 MB / 0.8041 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004507/0.944, allocations: 2.624 MB / 0.8066 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.9456, allocations: 0.7891 MB / 0.8074 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005649/0.9513, allocations: 2.002 MB / 0.8094 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/0.9535, allocations: 0.9643 MB / 0.8103 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.9537, allocations: 106.6 kB / 0.8104 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.9562, allocations: 0.9339 MB / 0.8113 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006886/0.9569, allocations: 0.5076 MB / 0.8118 GB, free: 288 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008816/0.9578, allocations: 0.5246 MB / 0.8123 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003391/0.9612, allocations: 1.91 MB / 0.8142 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.9612, allocations: 3.938 kB / 0.8142 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9612, allocations: 0 / 0.8142 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.105e-05/0.9612, allocations: 4 kB / 0.8142 GB, free: 14.38 MB / 0.6544 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.002657/0.9639, allocations: 1.407 MB / 0.8156 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.9639, allocations: 16.03 kB / 0.8156 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.9654, allocations: 255 kB / 0.8158 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.9669, allocations: 0.7323 MB / 0.8165 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-05/0.967, allocations: 74 kB / 0.8166 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.9672, allocations: 92 kB / 0.8167 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.9692, allocations: 1.298 MB / 0.818 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/0.9692, allocations: 4 kB / 0.818 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.393e-05/0.9693, allocations: 36 kB / 0.818 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-05/0.9694, allocations: 37.94 kB / 0.818 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.9709, allocations: 0.8976 MB / 0.8189 GB, free: 9.379 MB / 0.6544 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.005962/0.9768, allocations: 3.992 MB / 0.8228 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008583/0.9777, allocations: 0.498 MB / 0.8233 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004431/0.9781, allocations: 290.8 kB / 0.8236 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005141/0.9787, allocations: 80.42 kB / 0.8237 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.9787, allocations: 39.05 kB / 0.8237 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.876e-06/0.9787, allocations: 0 / 0.8237 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001672/0.9804, allocations: 0.7933 MB / 0.8245 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.9804, allocations: 55.91 kB / 0.8245 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008845/0.9813, allocations: 0.6682 MB / 0.8252 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.9814, allocations: 37.7 kB / 0.8252 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.9818, allocations: 0.5155 MB / 0.8257 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.982, allocations: 190.4 kB / 0.8259 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.9823, allocations: 138.6 kB / 0.826 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002246/0.9825, allocations: 386.7 kB / 0.8264 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.9829, allocations: 249.8 kB / 0.8266 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008822/0.9838, allocations: 0.8618 MB / 0.8275 GB, free: 212 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.9849, allocations: 0.8006 MB / 0.8283 GB, free: 15.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.9849, allocations: 4 kB / 0.8283 GB, free: 15.29 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001443/0.9864, allocations: 0.8448 MB / 0.8291 GB, free: 14.44 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.9864, allocations: 12 kB / 0.8291 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.9864, allocations: 13.06 kB / 0.8291 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/0.9864, allocations: 12 kB / 0.8291 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006162/0.9871, allocations: 151.8 kB / 0.8293 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.9871, allocations: 19.92 kB / 0.8293 GB, free: 14.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/0.9878, allocations: 79.44 kB / 0.8294 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.718e-05/0.9879, allocations: 39.94 kB / 0.8294 GB, free: 14.12 MB / 0.67 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.0005513/0.9884, allocations: 333.5 kB / 0.8297 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.9885, allocations: 75.53 kB / 0.8298 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.9896, allocations: 0.6117 MB / 0.8304 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.9896, allocations: 4 kB / 0.8304 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.9896, allocations: 0 / 0.8304 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007974/0.9904, allocations: 0.5225 MB / 0.8309 GB, free: 12.55 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.993, allocations: 1.437 MB / 0.8323 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.993, allocations: 4 kB / 0.8323 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.9935, allocations: 115.8 kB / 0.8324 GB, free: 10.94 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.9935, allocations: 4 kB / 0.8324 GB, free: 10.94 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.9936, allocations: 15.98 kB / 0.8324 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.9936, allocations: 7.938 kB / 0.8324 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.9936, allocations: 4 kB / 0.8324 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.9951, allocations: 1.053 MB / 0.8335 GB, free: 9.82 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.9955, allocations: 147.3 kB / 0.8336 GB, free: 9.676 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.495e-05/0.9956, allocations: 8 kB / 0.8336 GB, free: 9.668 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.996, allocations: 15.98 kB / 0.8336 GB, free: 9.652 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.9961, allocations: 35.94 kB / 0.8337 GB, free: 9.617 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.9961, allocations: 16 kB / 0.8337 GB, free: 9.602 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006166/0.9967, allocations: 447 kB / 0.8341 GB, free: 9.172 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9967, allocations: 0 / 0.8341 GB, free: 9.172 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001006/0.9977, allocations: 315.3 kB / 0.8344 GB, free: 8.863 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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.0005358/0.9983, allocations: 202.8 kB / 0.8346 GB, free: 8.668 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.9994, allocations: 0.5896 MB / 0.8352 GB, free: 8.082 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.9994, allocations: 0 / 0.8352 GB, free: 8.082 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.9998, allocations: 263.6 kB / 0.8354 GB, free: 7.824 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/1.001, allocations: 382.5 kB / 0.8358 GB, free: 7.461 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/1.005, allocations: 1.906 MB / 0.8377 GB, free: 5.504 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/1.005, allocations: 0.5235 MB / 0.8382 GB, free: 4.945 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007958/1.006, allocations: 262.2 kB / 0.8384 GB, free: 4.684 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/1.006, allocations: 68.48 kB / 0.8385 GB, free: 4.613 MB / 0.67 GB Notification: Performance of SimCode: time 5.81e-07/1.006, allocations: 0 / 0.8385 GB, free: 4.613 MB / 0.67 GB Notification: Performance of Templates: time 0.0285/1.035, allocations: 14.52 MB / 0.8527 GB, free: 6.457 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.830193825997412] Failed to read output from testmodel.py, exit status != 0: 1.0441753580234945 1.061374471 0.09657949 Calling exit ...