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.001408/0.001408, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001107/0.001107, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.058/1.058, allocations: 177.1 MB / 203.4 MB, free: 5.629 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-545:108: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-545:116: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.8145/0.8145, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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.403e-06/1.403e-06, allocations: 0 / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.555e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1373/0.1373, allocations: 152 MB / 0.6687 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006382/0.1437, allocations: 4.135 MB / 0.6728 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008891/0.1446, allocations: 47.62 kB / 0.6728 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007943/0.1454, allocations: 285.9 kB / 0.6731 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.1476, allocations: 1.274 MB / 0.6743 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.1494, allocations: 0.8181 MB / 0.6751 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002914/0.1523, allocations: 2.578 MB / 0.6777 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3248/0.4771, allocations: 0.8316 MB / 0.6785 GB, free: 48.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.4802, allocations: 1.385 MB / 0.6798 GB, free: 48.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.4815, allocations: 0.8749 MB / 0.6807 GB, free: 48.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002378/0.4817, allocations: 106.5 kB / 0.6808 GB, free: 48.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.4828, allocations: 0.5293 MB / 0.6813 GB, free: 48.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004531/0.4832, allocations: 0.5392 MB / 0.6818 GB, free: 48.87 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008259/0.484, allocations: 463.6 kB / 0.6823 GB, free: 48.87 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002459/0.4865, allocations: 1.25 MB / 0.6835 GB, free: 48.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.4865, allocations: 3.406 kB / 0.6835 GB, free: 48.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4865, allocations: 0 / 0.6835 GB, free: 48.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.724e-05/0.4866, allocations: 0.5312 kB / 0.6835 GB, free: 48.82 MB / 0.6355 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.001978/0.4885, allocations: 1.492 MB / 0.685 GB, free: 48.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.4886, allocations: 11.75 kB / 0.685 GB, free: 48.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.4896, allocations: 349.2 kB / 0.6853 GB, free: 47.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.4906, allocations: 0.7544 MB / 0.686 GB, free: 47.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.4907, allocations: 68.06 kB / 0.6861 GB, free: 47.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.705e-05/0.4908, allocations: 102.1 kB / 0.6862 GB, free: 47.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009293/0.4917, allocations: 0.9573 MB / 0.6871 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.4917, allocations: 0 / 0.6871 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/0.4918, allocations: 40.34 kB / 0.6872 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/0.4918, allocations: 36.34 kB / 0.6872 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006164/0.4924, allocations: 380.5 kB / 0.6876 GB, free: 47.18 MB / 0.6355 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.003176/0.4956, allocations: 4.695 MB / 0.6921 GB, free: 44.11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.4961, allocations: 276.3 kB / 0.6924 GB, free: 44.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.4963, allocations: 141.4 kB / 0.6925 GB, free: 44.06 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/0.4965, allocations: 61.16 kB / 0.6926 GB, free: 44.06 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.4965, allocations: 44.14 kB / 0.6926 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 2.876e-06/0.4965, allocations: 0.7188 kB / 0.6926 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.000813/0.4973, allocations: 468.5 kB / 0.6931 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.4974, allocations: 57.56 kB / 0.6932 GB, free: 43.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005317/0.4979, allocations: 0.6598 MB / 0.6938 GB, free: 43.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.4979, allocations: 35.45 kB / 0.6938 GB, free: 43.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.4982, allocations: 0.5751 MB / 0.6944 GB, free: 43.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.982e-05/0.4983, allocations: 188 kB / 0.6946 GB, free: 43.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.4984, allocations: 150.2 kB / 0.6947 GB, free: 43.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4985, allocations: 0.5639 MB / 0.6953 GB, free: 42.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.4987, allocations: 90.48 kB / 0.6954 GB, free: 42.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.499, allocations: 0.7988 MB / 0.6961 GB, free: 41.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/0.4996, allocations: 0.5881 MB / 0.6967 GB, free: 41.37 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.4996, allocations: 6.25 kB / 0.6967 GB, free: 41.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006876/0.5002, allocations: 0.5716 MB / 0.6973 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.5003, allocations: 13.28 kB / 0.6973 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.5003, allocations: 8.375 kB / 0.6973 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.5003, allocations: 13.33 kB / 0.6973 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.5006, allocations: 156.3 kB / 0.6975 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.5006, allocations: 18.11 kB / 0.6975 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.501, allocations: 74.8 kB / 0.6975 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.5011, allocations: 34.81 kB / 0.6976 GB, free: 41.25 MB / 0.6355 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.000179/0.5012, allocations: 212.6 kB / 0.6978 GB, free: 41.08 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.715e-05/0.5013, allocations: 94.11 kB / 0.6979 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005047/0.5018, allocations: 378.9 kB / 0.6982 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.5018, allocations: 9.656 kB / 0.6982 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5018, allocations: 0 / 0.6982 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003211/0.5022, allocations: 291.8 kB / 0.6985 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.5035, allocations: 1.214 MB / 0.6997 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5035, allocations: 0 / 0.6997 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.5038, allocations: 110.5 kB / 0.6998 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.5038, allocations: 5.281 kB / 0.6998 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.5038, allocations: 16.92 kB / 0.6998 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.5038, allocations: 4 kB / 0.6998 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5038, allocations: 6.5 kB / 0.6998 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.5044, allocations: 0.6657 MB / 0.7005 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.5046, allocations: 135.6 kB / 0.7006 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.5047, allocations: 13.75 kB / 0.7006 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.5049, allocations: 12.5 kB / 0.7006 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.505, allocations: 40.73 kB / 0.7007 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.505, allocations: 22.03 kB / 0.7007 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003118/0.5053, allocations: 408 kB / 0.7011 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5053, allocations: 0 / 0.7011 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000711/0.506, allocations: 314.7 kB / 0.7014 GB, free: 39.95 MB / 0.6355 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.0004202/0.5064, allocations: 173.8 kB / 0.7016 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005128/0.5069, allocations: 358.1 kB / 0.7019 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5069, allocations: 0.9375 kB / 0.7019 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.5071, allocations: 164.3 kB / 0.7021 GB, free: 39.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.5081, allocations: 396.4 kB / 0.7024 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.5105, allocations: 1.659 MB / 0.7041 GB, free: 38.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.5107, allocations: 249 kB / 0.7043 GB, free: 38.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005334/0.5112, allocations: 217.7 kB / 0.7045 GB, free: 38.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.5113, allocations: 67.59 kB / 0.7046 GB, free: 38.87 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/0.5113, allocations: 0 / 0.7046 GB, free: 38.87 MB / 0.6355 GB Notification: Performance of Templates: time 0.02248/0.5338, allocations: 14.17 MB / 0.7184 GB, free: 37.56 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8495445270091295]