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.000836/0.000836, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007834/0.0007834, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8753/0.8753, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.6965/0.6965, allocations: 154.6 MB / 414.5 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.162e-05, allocations: 5.516 kB / 0.6194 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.4746/0.4747, allocations: 172.5 MB / 0.7878 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01342/0.4881, allocations: 13.12 MB / 0.8006 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.4896, allocations: 52.12 kB / 0.8007 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.4909, allocations: 0.4967 MB / 0.8012 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.003886/0.4948, allocations: 1.981 MB / 0.8031 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.4967, allocations: 0.9716 MB / 0.8041 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.002296/0.499, allocations: 2.618 MB / 0.8066 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.5001, allocations: 0.7943 MB / 0.8074 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003628/0.5037, allocations: 2.197 MB / 0.8095 GB, free: 10 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.5048, allocations: 0.8767 MB / 0.8104 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.5049, allocations: 106.4 kB / 0.8105 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.5064, allocations: 0.9254 MB / 0.8114 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003614/0.5068, allocations: 0.5337 MB / 0.8119 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003969/0.5072, allocations: 460.4 kB / 0.8124 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.5092, allocations: 1.949 MB / 0.8143 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5092, allocations: 0 / 0.8143 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5092, allocations: 0 / 0.8143 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.229e-05/0.5092, allocations: 0 / 0.8143 GB, free: 7.227 MB / 0.6667 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.001761/0.5109, allocations: 1.399 MB / 0.8156 GB, free: 6.18 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.511, allocations: 10.66 kB / 0.8156 GB, free: 6.18 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007666/0.5117, allocations: 258.9 kB / 0.8159 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008825/0.5126, allocations: 0.7341 MB / 0.8166 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.5127, allocations: 69.69 kB / 0.8167 GB, free: 5.504 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.5128, allocations: 97.67 kB / 0.8168 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.5141, allocations: 1.297 MB / 0.818 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.5141, allocations: 3 kB / 0.818 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.82e-05/0.5142, allocations: 38.44 kB / 0.8181 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.5142, allocations: 35.44 kB / 0.8181 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008877/0.5151, allocations: 0.9022 MB / 0.819 GB, free: 4.066 MB / 0.6667 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.003336/0.5184, allocations: 3.983 MB / 0.8229 GB, free: 0.8672 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005873/0.519, allocations: 0.5185 MB / 0.8234 GB, free: 0.5977 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.5193, allocations: 296.3 kB / 0.8237 GB, free: 460 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002523/0.5196, allocations: 83.09 kB / 0.8237 GB, free: 428 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.5196, allocations: 41.69 kB / 0.8238 GB, free: 380 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=49): time 1.603e-06/0.5196, allocations: 0 / 0.8238 GB, free: 380 kB / 0.6667 GB Notification: Performance of matching and sorting (n=49): time 0.0009537/0.5205, allocations: 0.7932 MB / 0.8246 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.5206, allocations: 57.09 kB / 0.8246 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004849/0.5211, allocations: 0.6564 MB / 0.8252 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.5211, allocations: 43.11 kB / 0.8253 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.5214, allocations: 0.5243 MB / 0.8258 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.5215, allocations: 182.2 kB / 0.826 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.5216, allocations: 144.4 kB / 0.8261 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5217, allocations: 395.2 kB / 0.8265 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.522, allocations: 243.5 kB / 0.8267 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.5224, allocations: 0.8334 MB / 0.8275 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/0.5231, allocations: 0.796 MB / 0.8283 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5231, allocations: 4 kB / 0.8283 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007802/0.5239, allocations: 0.8446 MB / 0.8291 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.5239, allocations: 14.69 kB / 0.8292 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.5239, allocations: 8 kB / 0.8292 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.5239, allocations: 12 kB / 0.8292 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.5243, allocations: 159.7 kB / 0.8293 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.5243, allocations: 15.2 kB / 0.8293 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.5246, allocations: 75.5 kB / 0.8294 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.5246, allocations: 39.17 kB / 0.8294 GB, free: 11.64 MB / 0.6823 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.0002846/0.5249, allocations: 334.4 kB / 0.8298 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.525, allocations: 87.42 kB / 0.8299 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006559/0.5256, allocations: 0.6108 MB / 0.8304 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5256, allocations: 8 kB / 0.8305 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5256, allocations: 0 / 0.8305 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004607/0.5261, allocations: 0.5187 MB / 0.831 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.5278, allocations: 1.441 MB / 0.8324 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.5278, allocations: 0 / 0.8324 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.5281, allocations: 111.9 kB / 0.8325 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.5281, allocations: 4 kB / 0.8325 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.5282, allocations: 12 kB / 0.8325 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.5282, allocations: 7.984 kB / 0.8325 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5282, allocations: 7.938 kB / 0.8325 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008642/0.529, allocations: 1.009 MB / 0.8335 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.5292, allocations: 147.6 kB / 0.8336 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.5293, allocations: 15.94 kB / 0.8336 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.5295, allocations: 19.97 kB / 0.8337 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.5295, allocations: 31.89 kB / 0.8337 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.5295, allocations: 19.98 kB / 0.8337 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003301/0.5299, allocations: 451 kB / 0.8341 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7e-08/0.5299, allocations: 0 / 0.8341 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005737/0.5304, allocations: 307.3 kB / 0.8344 GB, free: 6.41 MB / 0.6823 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.0004645/0.5309, allocations: 193.8 kB / 0.8346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006278/0.5315, allocations: 0.5919 MB / 0.8352 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5315, allocations: 0 / 0.8352 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.5318, allocations: 269.2 kB / 0.8355 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009591/0.5327, allocations: 375.2 kB / 0.8358 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.5347, allocations: 1.909 MB / 0.8377 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.535, allocations: 0.5196 MB / 0.8382 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.5352, allocations: 76.48 kB / 0.8383 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of SimCode: time 5.92e-07/0.5352, allocations: 0 / 0.8383 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of Templates: time 0.01295/0.5481, allocations: 14.41 MB / 0.8523 GB, free: 4.16 MB / 0.698 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.185225416906178] Failed to read output from testmodel.py, exit status != 0: 0.5552553767338395 0.563807613 0.052673465 Calling exit ...