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.001326/0.001326, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001448/0.001448, allocations: 215.8 kB / 22.99 MB, free: 4.945 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8269/0.8269, allocations: 134 MB / 447.2 MB, free: 9.934 MB / 350.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/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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 71.83 kB / 0.6197 GB, free: 6.375 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1854, allocations: 85.9 MB / 0.7036 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5867/0.7721, allocations: 172.6 MB / 0.8722 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01982/0.7919, allocations: 13.15 MB / 0.8851 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.7931, allocations: 55.56 kB / 0.8851 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.7949, allocations: 0.4929 MB / 0.8856 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005219/0.8001, allocations: 1.933 MB / 0.8875 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.8026, allocations: 0.8913 MB / 0.8883 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003626/0.8063, allocations: 2.609 MB / 0.8909 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.8076, allocations: 0.7948 MB / 0.8917 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004593/0.8122, allocations: 1.667 MB / 0.8933 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.814, allocations: 0.9623 MB / 0.8942 GB, free: 15.6 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.8142, allocations: 108 kB / 0.8943 GB, free: 15.5 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.8164, allocations: 0.9312 MB / 0.8952 GB, free: 14.56 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005899/0.817, allocations: 0.5064 MB / 0.8957 GB, free: 14.05 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007126/0.8177, allocations: 0.529 MB / 0.8963 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002833/0.8205, allocations: 1.907 MB / 0.8981 GB, free: 11.61 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.8205, allocations: 0 / 0.8981 GB, free: 11.61 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8205, allocations: 7.938 kB / 0.8981 GB, free: 11.61 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.174e-05/0.8205, allocations: 0 / 0.8981 GB, free: 11.61 MB / 0.67 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.002419/0.8229, allocations: 1.407 MB / 0.8995 GB, free: 10.16 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.823, allocations: 12.03 kB / 0.8995 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.8244, allocations: 259 kB / 0.8998 GB, free: 9.895 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.8258, allocations: 0.7284 MB / 0.9005 GB, free: 9.141 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-05/0.8259, allocations: 74 kB / 0.9005 GB, free: 9.066 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.8261, allocations: 95.98 kB / 0.9006 GB, free: 8.973 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.8279, allocations: 1.294 MB / 0.9019 GB, free: 7.578 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.8279, allocations: 7.938 kB / 0.9019 GB, free: 7.57 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.318e-05/0.828, allocations: 36 kB / 0.9019 GB, free: 7.535 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-05/0.8281, allocations: 34 kB / 0.902 GB, free: 7.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.8295, allocations: 0.8937 MB / 0.9028 GB, free: 6.609 MB / 0.67 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.005226/0.8347, allocations: 3.994 MB / 0.9067 GB, free: 2.496 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008232/0.8355, allocations: 0.5029 MB / 0.9072 GB, free: 1.988 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/0.836, allocations: 290.6 kB / 0.9075 GB, free: 1.703 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004752/0.8364, allocations: 76.36 kB / 0.9076 GB, free: 1.629 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.8365, allocations: 39 kB / 0.9076 GB, free: 1.582 MB / 0.67 GB Notification: Performance of pre-optimization done (n=49): time 2.134e-06/0.8365, allocations: 0 / 0.9076 GB, free: 1.582 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.001519/0.838, allocations: 0.7991 MB / 0.9084 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.8381, allocations: 55.84 kB / 0.9085 GB, free: 0.707 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007881/0.8388, allocations: 0.6565 MB / 0.9091 GB, free: 44 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.307e-05/0.8389, allocations: 45.84 kB / 0.9091 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.8393, allocations: 0.5154 MB / 0.9096 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.8395, allocations: 186.4 kB / 0.9098 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.8397, allocations: 142.6 kB / 0.91 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.8399, allocations: 390.7 kB / 0.9103 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.8403, allocations: 245.8 kB / 0.9106 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008313/0.8411, allocations: 0.8628 MB / 0.9114 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.8421, allocations: 0.7995 MB / 0.9122 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.8422, allocations: 4 kB / 0.9122 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001302/0.8435, allocations: 0.8354 MB / 0.913 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.8435, allocations: 12.19 kB / 0.913 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.8435, allocations: 11.98 kB / 0.913 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/0.8435, allocations: 15.94 kB / 0.9131 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.8441, allocations: 151.8 kB / 0.9132 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.8441, allocations: 15.94 kB / 0.9132 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/0.8448, allocations: 87.42 kB / 0.9133 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-05/0.8448, allocations: 40.81 kB / 0.9133 GB, free: 11.36 MB / 0.6856 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.0004495/0.8453, allocations: 325.5 kB / 0.9136 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.8454, allocations: 87.53 kB / 0.9137 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.8464, allocations: 0.6055 MB / 0.9143 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.8464, allocations: 7.938 kB / 0.9143 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8464, allocations: 0 / 0.9143 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007344/0.8472, allocations: 0.5172 MB / 0.9148 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.8495, allocations: 1.433 MB / 0.9162 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8495, allocations: 0 / 0.9162 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/0.85, allocations: 119.8 kB / 0.9163 GB, free: 8.18 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.85, allocations: 4 kB / 0.9163 GB, free: 8.176 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.8501, allocations: 19.98 kB / 0.9164 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.8501, allocations: 4 kB / 0.9164 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8501, allocations: 0 / 0.9164 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.8515, allocations: 1.046 MB / 0.9174 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003443/0.8518, allocations: 151.5 kB / 0.9175 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.986e-05/0.8519, allocations: 12 kB / 0.9175 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.8523, allocations: 15.98 kB / 0.9176 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.8524, allocations: 39.88 kB / 0.9176 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.8524, allocations: 16 kB / 0.9176 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005556/0.853, allocations: 447 kB / 0.918 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.853, allocations: 0 / 0.918 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009386/0.8539, allocations: 311.3 kB / 0.9183 GB, free: 6.102 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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.000464/0.8544, allocations: 205 kB / 0.9185 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009838/0.8554, allocations: 0.5872 MB / 0.9191 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8554, allocations: 0 / 0.9191 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.8557, allocations: 265.2 kB / 0.9194 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.8573, allocations: 381.9 kB / 0.9197 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.8604, allocations: 1.994 MB / 0.9217 GB, free: 2.645 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/0.861, allocations: 0.5196 MB / 0.9222 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.8612, allocations: 79.42 kB / 0.9223 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of SimCode: time 6.61e-07/0.8612, allocations: 0 / 0.9223 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of Templates: time 0.02486/0.8861, allocations: 14.36 MB / 0.9363 GB, free: 3.789 MB / 0.7012 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: 10.547097195871174] Failed to read output from testmodel.py, exit status != 0: 0.8949959282763302 0.910103953 0.08645011400000001 Calling exit ...