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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 225.6 MB / 249.4 MB, free: 3.262 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.157/1.157, allocations: 175.7 MB / 480.2 MB, free: 2.75 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002/0.002, allocations: 80.8 kB / 0.6684 GB, free: 10.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2071, allocations: 94.53 MB / 0.7607 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.8601/1.067, allocations: 196.2 MB / 0.9523 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02357/1.091, allocations: 14.49 MB / 0.9665 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/1.093, allocations: 35.81 kB / 0.9665 GB, free: 6.742 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002153/1.095, allocations: 0.5163 MB / 0.967 GB, free: 6.223 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006493/1.101, allocations: 1.96 MB / 0.9689 GB, free: 4.258 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003192/1.104, allocations: 0.8824 MB / 0.9698 GB, free: 3.379 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004287/1.109, allocations: 2.577 MB / 0.9723 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/1.111, allocations: 0.7985 MB / 0.9731 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005951/1.116, allocations: 1.858 MB / 0.9749 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/1.119, allocations: 0.9771 MB / 0.9758 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000432/1.119, allocations: 104 kB / 0.9759 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/1.122, allocations: 1.154 MB / 0.9771 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007484/1.123, allocations: 0.5025 MB / 0.9776 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001342/1.124, allocations: 0.6377 MB / 0.9782 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004079/1.128, allocations: 1.911 MB / 0.9801 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.128, allocations: 3.938 kB / 0.9801 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/1.128, allocations: 4 kB / 0.9801 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.96e-05/1.128, allocations: 0 / 0.9801 GB, free: 8.824 MB / 0.7169 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.004234/1.132, allocations: 1.486 MB / 0.9815 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/1.133, allocations: 8.031 kB / 0.9815 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/1.135, allocations: 263 kB / 0.9818 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/1.137, allocations: 0.7967 MB / 0.9825 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/1.137, allocations: 73.94 kB / 0.9826 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/1.137, allocations: 99.94 kB / 0.9827 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/1.14, allocations: 1.165 MB / 0.9839 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/1.14, allocations: 3.938 kB / 0.9839 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/1.14, allocations: 40 kB / 0.9839 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.394e-05/1.14, allocations: 38 kB / 0.9839 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/1.142, allocations: 0.9015 MB / 0.9848 GB, free: 3.793 MB / 0.7169 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.008627/1.15, allocations: 5.827 MB / 0.9905 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/1.151, allocations: 0.509 MB / 0.991 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00049/1.152, allocations: 299.1 kB / 0.9913 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007633/1.152, allocations: 311.8 kB / 0.9916 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/1.153, allocations: 42.92 kB / 0.9916 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 3.086e-06/1.153, allocations: 0 / 0.9916 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001822/1.154, allocations: 0.807 MB / 0.9924 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/1.154, allocations: 59.78 kB / 0.9925 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/1.156, allocations: 0.7509 MB / 0.9932 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.946e-05/1.156, allocations: 37.7 kB / 0.9932 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000597/1.156, allocations: 0.5194 MB / 0.9937 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/1.157, allocations: 190.4 kB / 0.9939 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/1.157, allocations: 138.6 kB / 0.9941 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000204/1.157, allocations: 334 kB / 0.9944 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/1.158, allocations: 249.8 kB / 0.9946 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000801/1.158, allocations: 0.5557 MB / 0.9952 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/1.16, allocations: 0.7957 MB / 0.9959 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.16, allocations: 4 kB / 0.9959 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001597/1.161, allocations: 0.8509 MB / 0.9968 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/1.161, allocations: 12 kB / 0.9968 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/1.161, allocations: 8 kB / 0.9968 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/1.161, allocations: 12 kB / 0.9968 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/1.162, allocations: 151.8 kB / 0.9969 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.618e-05/1.162, allocations: 19.92 kB / 0.997 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007364/1.163, allocations: 95.53 kB / 0.9971 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/1.163, allocations: 40 kB / 0.9971 GB, free: 6.359 MB / 0.7325 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.0006332/1.163, allocations: 333.4 kB / 0.9974 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/1.164, allocations: 87.44 kB / 0.9975 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/1.165, allocations: 0.6218 MB / 0.9981 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/1.165, allocations: 4 kB / 0.9981 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.165, allocations: 0 / 0.9981 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008896/1.166, allocations: 0.5172 MB / 0.9986 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002897/1.169, allocations: 1.675 MB / 1 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.169, allocations: 224 / 1 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/1.169, allocations: 119.8 kB / 1 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/1.169, allocations: 4 kB / 1 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/1.169, allocations: 12 kB / 1 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.677e-06/1.169, allocations: 6.188 kB / 1 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.169, allocations: 7.938 kB / 1 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/1.171, allocations: 1.015 MB / 1.001 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003426/1.171, allocations: 225.2 kB / 1.002 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/1.171, allocations: 16 kB / 1.002 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/1.172, allocations: 15.98 kB / 1.002 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/1.172, allocations: 39.89 kB / 1.002 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/1.172, allocations: 20.88 kB / 1.002 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007132/1.172, allocations: 0.5107 MB / 1.002 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.172, allocations: 0 / 1.002 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009746/1.173, allocations: 303.4 kB / 1.002 GB, free: 0.6914 MB / 0.7325 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.0006086/1.174, allocations: 207.6 kB / 1.003 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00108/1.175, allocations: 0.5884 MB / 1.003 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.175, allocations: 0 / 1.003 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004066/1.176, allocations: 264.3 kB / 1.003 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.177, allocations: 446.2 kB / 1.004 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/1.181, allocations: 1.976 MB / 1.006 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000868/1.182, allocations: 1.118 MB / 1.007 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008246/1.182, allocations: 271 kB / 1.007 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/1.183, allocations: 67.42 kB / 1.007 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of SimCode: time 1.052e-06/1.183, allocations: 0 / 1.007 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of Templates: time 0.03296/1.216, allocations: 15.87 MB / 1.023 GB, free: 12.06 MB / 0.7637 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: 7.963266015984118]