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.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.001464/0.001464, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001709/0.001709, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.197/1.197, allocations: 154.6 MB / 413.7 MB, free: 5.273 MB / 382.1 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 178] 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.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 2.114e-06/2.114e-06, allocations: 0 / 0.6185 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.108e-05, allocations: 3.375 kB / 0.6185 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6512/0.6513, allocations: 172.5 MB / 0.787 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01979/0.6711, allocations: 13.12 MB / 0.7998 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002434/0.6735, allocations: 51.5 kB / 0.7999 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.6754, allocations: 0.4991 MB / 0.8004 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006519/0.682, allocations: 1.988 MB / 0.8023 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00324/0.6852, allocations: 0.9563 MB / 0.8032 GB, free: 452 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00441/0.6896, allocations: 2.626 MB / 0.8058 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.6911, allocations: 0.7952 MB / 0.8066 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006459/0.6976, allocations: 2.195 MB / 0.8087 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.6998, allocations: 0.8646 MB / 0.8096 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.7, allocations: 110.5 kB / 0.8097 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002689/0.7027, allocations: 0.933 MB / 0.8106 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006889/0.7034, allocations: 0.5323 MB / 0.8111 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008325/0.7042, allocations: 460.1 kB / 0.8116 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003885/0.7081, allocations: 1.95 MB / 0.8135 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.7081, allocations: 0 / 0.8135 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7081, allocations: 0 / 0.8135 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.783e-05/0.7081, allocations: 0 / 0.8135 GB, free: 10.2 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.003006/0.7111, allocations: 1.401 MB / 0.8148 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.7112, allocations: 9.062 kB / 0.8148 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.7127, allocations: 263.2 kB / 0.8151 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.7142, allocations: 0.737 MB / 0.8158 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.354e-05/0.7142, allocations: 71.23 kB / 0.8159 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.7144, allocations: 96.02 kB / 0.816 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.7163, allocations: 1.299 MB / 0.8172 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.7163, allocations: 2.375 kB / 0.8172 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.289e-05/0.7164, allocations: 39.06 kB / 0.8173 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.194e-05/0.7164, allocations: 34.03 kB / 0.8173 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.7178, allocations: 0.9001 MB / 0.8182 GB, free: 7.027 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.005518/0.7234, allocations: 3.985 MB / 0.8221 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009436/0.7243, allocations: 0.5088 MB / 0.8226 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/0.7248, allocations: 294.8 kB / 0.8229 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005353/0.7253, allocations: 84.41 kB / 0.8229 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.7254, allocations: 39.06 kB / 0.823 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.826e-06/0.7254, allocations: 0 / 0.823 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001727/0.7271, allocations: 0.7971 MB / 0.8237 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.7271, allocations: 55.91 kB / 0.8238 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009806/0.7281, allocations: 0.6605 MB / 0.8244 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.079e-05/0.7282, allocations: 41.7 kB / 0.8245 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005302/0.7287, allocations: 0.5233 MB / 0.825 GB, free: 460 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.7289, allocations: 178.4 kB / 0.8252 GB, free: 280 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.7292, allocations: 146.6 kB / 0.8253 GB, free: 128 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002857/0.7295, allocations: 386.7 kB / 0.8257 GB, free: 15.74 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/0.7299, allocations: 245.9 kB / 0.8259 GB, free: 15.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009838/0.7309, allocations: 0.8308 MB / 0.8267 GB, free: 14.47 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.7321, allocations: 0.8083 MB / 0.8275 GB, free: 13.55 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.7321, allocations: 4 kB / 0.8275 GB, free: 13.55 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001411/0.7335, allocations: 0.8408 MB / 0.8283 GB, free: 12.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.7335, allocations: 10.03 kB / 0.8283 GB, free: 12.69 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.7335, allocations: 12.12 kB / 0.8284 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.422e-05/0.7336, allocations: 12 kB / 0.8284 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.7342, allocations: 155.7 kB / 0.8285 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.7342, allocations: 15.94 kB / 0.8285 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007614/0.735, allocations: 79.5 kB / 0.8286 GB, free: 12.42 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.909e-05/0.735, allocations: 36 kB / 0.8286 GB, free: 12.39 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.0005527/0.7356, allocations: 326.5 kB / 0.829 GB, free: 12.06 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.7357, allocations: 91.42 kB / 0.829 GB, free: 11.97 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.7368, allocations: 0.6175 MB / 0.8296 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.7368, allocations: 4 kB / 0.8296 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.7368, allocations: 0 / 0.8296 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008304/0.7376, allocations: 0.5187 MB / 0.8302 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/0.7402, allocations: 1.441 MB / 0.8316 GB, free: 9.312 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.7402, allocations: 4 kB / 0.8316 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/0.7407, allocations: 111.8 kB / 0.8317 GB, free: 9.199 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.7408, allocations: 4 kB / 0.8317 GB, free: 9.195 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/0.7408, allocations: 12 kB / 0.8317 GB, free: 9.184 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.7408, allocations: 4 kB / 0.8317 GB, free: 9.18 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7408, allocations: 0 / 0.8317 GB, free: 9.18 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.7423, allocations: 1.017 MB / 0.8327 GB, free: 8.125 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.7426, allocations: 147.3 kB / 0.8328 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.7428, allocations: 16.06 kB / 0.8328 GB, free: 7.965 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004684/0.7432, allocations: 12 kB / 0.8329 GB, free: 7.953 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/0.7433, allocations: 43.81 kB / 0.8329 GB, free: 7.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.7434, allocations: 19.98 kB / 0.8329 GB, free: 7.891 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006206/0.744, allocations: 455 kB / 0.8333 GB, free: 7.449 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.11e-07/0.744, allocations: 0 / 0.8333 GB, free: 7.449 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001081/0.7451, allocations: 307.3 kB / 0.8336 GB, free: 7.148 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.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.0006128/0.7457, allocations: 198.5 kB / 0.8338 GB, free: 6.949 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.7469, allocations: 0.5845 MB / 0.8344 GB, free: 6.367 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.7469, allocations: 4 kB / 0.8344 GB, free: 6.363 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004319/0.7473, allocations: 265 kB / 0.8347 GB, free: 6.105 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.7492, allocations: 386.1 kB / 0.835 GB, free: 5.754 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.7528, allocations: 1.818 MB / 0.8368 GB, free: 3.883 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007352/0.7536, allocations: 0.5273 MB / 0.8373 GB, free: 3.324 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008446/0.7544, allocations: 250.5 kB / 0.8376 GB, free: 3.074 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.7547, allocations: 68.48 kB / 0.8376 GB, free: 3.008 MB / 0.67 GB Notification: Performance of SimCode: time 9.01e-07/0.7547, allocations: 0 / 0.8376 GB, free: 3.008 MB / 0.67 GB Notification: Performance of Templates: time 0.03005/0.7847, allocations: 14.32 MB / 0.8516 GB, free: 5.082 MB / 0.6856 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: 6.989319168031216] Failed to read output from testmodel.py, exit status != 0: 0.7950359098613262 0.810241123 0.098822565 Calling exit ...