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.00141/0.00141, allocations: 78.64 kB / 19.18 MB, free: 2.527 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.001547/0.001547, allocations: 169.5 kB / 22.46 MB, free: 5.363 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.462/1.462, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.195/1.195, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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 178] 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.423e-06/1.423e-06, allocations: 0 / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.729e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5173/0.5173, allocations: 172.5 MB / 0.7871 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01969/0.537, allocations: 13.12 MB / 0.7999 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.5387, allocations: 54.44 kB / 0.8 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.5405, allocations: 0.5001 MB / 0.8004 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005389/0.5459, allocations: 1.981 MB / 0.8024 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002767/0.5486, allocations: 0.9667 MB / 0.8033 GB, free: 364 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003618/0.5522, allocations: 2.627 MB / 0.8059 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.5539, allocations: 0.7926 MB / 0.8067 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007956/0.5618, allocations: 2.194 MB / 0.8088 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/0.5642, allocations: 0.8696 MB / 0.8096 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003723/0.5646, allocations: 106.4 kB / 0.8098 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.5671, allocations: 0.927 MB / 0.8107 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008853/0.568, allocations: 0.531 MB / 0.8112 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001376/0.5694, allocations: 460.4 kB / 0.8116 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004397/0.5738, allocations: 1.949 MB / 0.8135 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.5738, allocations: 4 kB / 0.8135 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5738, allocations: 2.812 kB / 0.8135 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.114e-05/0.5739, allocations: 0 / 0.8135 GB, free: 10.12 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.00313/0.577, allocations: 1.399 MB / 0.8149 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.577, allocations: 9.344 kB / 0.8149 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.5785, allocations: 250.9 kB / 0.8151 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.5799, allocations: 0.7367 MB / 0.8159 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/0.5799, allocations: 67.28 kB / 0.8159 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.5801, allocations: 103.5 kB / 0.816 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.582, allocations: 1.298 MB / 0.8173 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.5821, allocations: 3.938 kB / 0.8173 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.071e-05/0.5822, allocations: 38.25 kB / 0.8173 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.075e-05/0.5822, allocations: 31.75 kB / 0.8174 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.5835, allocations: 0.8982 MB / 0.8182 GB, free: 6.961 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.005176/0.5887, allocations: 3.982 MB / 0.8221 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009442/0.5897, allocations: 0.5214 MB / 0.8226 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/0.5901, allocations: 294.8 kB / 0.8229 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005047/0.5906, allocations: 80.41 kB / 0.823 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.5907, allocations: 43 kB / 0.823 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.455e-06/0.5907, allocations: 0 / 0.823 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001693/0.5924, allocations: 0.8011 MB / 0.8238 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.5924, allocations: 59.89 kB / 0.8239 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008753/0.5933, allocations: 0.6566 MB / 0.8245 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.5933, allocations: 37.7 kB / 0.8245 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.5938, allocations: 0.5233 MB / 0.8251 GB, free: 372 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.5939, allocations: 182.4 kB / 0.8252 GB, free: 188 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.5942, allocations: 142.6 kB / 0.8254 GB, free: 36 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002146/0.5944, allocations: 386.8 kB / 0.8257 GB, free: 15.65 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.5948, allocations: 245.8 kB / 0.826 GB, free: 15.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000836/0.5956, allocations: 0.8347 MB / 0.8268 GB, free: 14.38 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.5967, allocations: 0.7966 MB / 0.8276 GB, free: 13.47 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.5967, allocations: 4 kB / 0.8276 GB, free: 13.47 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00143/0.5981, allocations: 0.8444 MB / 0.8284 GB, free: 12.62 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.5981, allocations: 11.98 kB / 0.8284 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.5982, allocations: 11.62 kB / 0.8284 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/0.5982, allocations: 12 kB / 0.8284 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.5988, allocations: 155.8 kB / 0.8286 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/0.5989, allocations: 15.94 kB / 0.8286 GB, free: 12.42 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008469/0.5997, allocations: 87.95 kB / 0.8287 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.5998, allocations: 32 kB / 0.8287 GB, free: 12.3 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.0007065/0.6005, allocations: 330.5 kB / 0.829 GB, free: 11.97 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.6007, allocations: 87.42 kB / 0.8291 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.6019, allocations: 0.607 MB / 0.8297 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.6019, allocations: 4 kB / 0.8297 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6019, allocations: 0 / 0.8297 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007976/0.6027, allocations: 0.5265 MB / 0.8302 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.6052, allocations: 1.433 MB / 0.8316 GB, free: 9.234 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.6052, allocations: 4 kB / 0.8316 GB, free: 9.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005251/0.6057, allocations: 103.9 kB / 0.8317 GB, free: 9.129 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.882e-06/0.6057, allocations: 7.938 kB / 0.8317 GB, free: 9.121 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.6058, allocations: 20.2 kB / 0.8317 GB, free: 9.102 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.6058, allocations: 8 kB / 0.8318 GB, free: 9.094 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6058, allocations: 0 / 0.8318 GB, free: 9.094 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.6072, allocations: 1.013 MB / 0.8327 GB, free: 8.047 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.6075, allocations: 143.3 kB / 0.8329 GB, free: 7.906 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.6076, allocations: 16 kB / 0.8329 GB, free: 7.891 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/0.6081, allocations: 18.23 kB / 0.8329 GB, free: 7.875 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.6082, allocations: 39.88 kB / 0.8329 GB, free: 7.836 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.6082, allocations: 16 kB / 0.833 GB, free: 7.82 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005616/0.6088, allocations: 447 kB / 0.8334 GB, free: 7.387 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6088, allocations: 7.938 kB / 0.8334 GB, free: 7.379 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009214/0.6097, allocations: 307.3 kB / 0.8337 GB, free: 7.078 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.0005034/0.6102, allocations: 211.7 kB / 0.8339 GB, free: 6.879 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.6112, allocations: 0.5819 MB / 0.8345 GB, free: 6.297 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.6112, allocations: 4 kB / 0.8345 GB, free: 6.293 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.6116, allocations: 267.7 kB / 0.8347 GB, free: 6.031 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.6134, allocations: 375.4 kB / 0.8351 GB, free: 5.68 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.6165, allocations: 1.821 MB / 0.8369 GB, free: 3.805 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006084/0.6171, allocations: 0.5312 MB / 0.8374 GB, free: 3.242 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007474/0.6179, allocations: 258.5 kB / 0.8376 GB, free: 2.984 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.6181, allocations: 64.48 kB / 0.8377 GB, free: 2.922 MB / 0.67 GB Notification: Performance of SimCode: time 3.61e-07/0.6181, allocations: 0 / 0.8377 GB, free: 2.922 MB / 0.67 GB Notification: Performance of Templates: time 0.02849/0.6466, allocations: 14.32 MB / 0.8517 GB, free: 5.008 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.895393628627062] Failed to read output from testmodel.py, exit status != 0: 0.6558260470628738 0.670355838 0.09338144000000001 Calling exit ...