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.001458/0.001458, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001912/0.001912, allocations: 214.4 kB / 22.25 MB, free: 5.262 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.785 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.8849/0.8849, allocations: 134 MB / 446.4 MB, free: 9.871 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.002308/0.002308, allocations: 67.61 kB / 0.619 GB, free: 6.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2063, allocations: 85.91 MB / 0.7029 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6998/0.9061, allocations: 172.6 MB / 0.8715 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02046/0.9266, allocations: 13.15 MB / 0.8843 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.9283, allocations: 51.56 kB / 0.8844 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.9301, allocations: 0.489 MB / 0.8848 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005821/0.9359, allocations: 1.937 MB / 0.8867 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.939, allocations: 0.8865 MB / 0.8876 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004319/0.9433, allocations: 2.612 MB / 0.8901 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.9448, allocations: 0.7948 MB / 0.8909 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005255/0.95, allocations: 1.679 MB / 0.8926 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/0.9523, allocations: 0.9535 MB / 0.8935 GB, free: 15.59 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.9526, allocations: 108 kB / 0.8936 GB, free: 15.49 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.9553, allocations: 0.9351 MB / 0.8945 GB, free: 14.55 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007017/0.956, allocations: 0.5025 MB / 0.895 GB, free: 14.05 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008014/0.9568, allocations: 0.529 MB / 0.8955 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003159/0.96, allocations: 1.911 MB / 0.8974 GB, free: 11.6 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.96, allocations: 0 / 0.8974 GB, free: 11.6 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.964e-06/0.96, allocations: 0 / 0.8974 GB, free: 11.6 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.96, allocations: 0 / 0.8974 GB, free: 11.6 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.002645/0.9626, allocations: 1.415 MB / 0.8988 GB, free: 10.15 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.9627, allocations: 8.031 kB / 0.8988 GB, free: 10.14 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.9641, allocations: 259 kB / 0.899 GB, free: 9.887 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.9657, allocations: 0.7245 MB / 0.8997 GB, free: 9.137 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.103e-05/0.9658, allocations: 73.94 kB / 0.8998 GB, free: 9.062 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.966, allocations: 96 kB / 0.8999 GB, free: 8.969 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.9681, allocations: 1.302 MB / 0.9012 GB, free: 7.566 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.9681, allocations: 4.688 kB / 0.9012 GB, free: 7.562 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/0.9682, allocations: 36 kB / 0.9012 GB, free: 7.527 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/0.9683, allocations: 34 kB / 0.9012 GB, free: 7.492 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.9698, allocations: 0.9015 MB / 0.9021 GB, free: 6.594 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.005907/0.9757, allocations: 3.99 MB / 0.906 GB, free: 2.484 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008736/0.9766, allocations: 0.4973 MB / 0.9065 GB, free: 1.98 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004467/0.977, allocations: 294.6 kB / 0.9068 GB, free: 1.691 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005062/0.9775, allocations: 84.28 kB / 0.9069 GB, free: 1.609 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.9776, allocations: 39 kB / 0.9069 GB, free: 1.562 MB / 0.67 GB Notification: Performance of pre-optimization done (n=49): time 2.736e-06/0.9776, allocations: 0 / 0.9069 GB, free: 1.562 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.001708/0.9793, allocations: 0.7914 MB / 0.9077 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.9793, allocations: 55.84 kB / 0.9077 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009112/0.9802, allocations: 0.6604 MB / 0.9084 GB, free: 28 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.081e-05/0.9803, allocations: 37.7 kB / 0.9084 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/0.9808, allocations: 0.5155 MB / 0.9089 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.9809, allocations: 190.5 kB / 0.9091 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.9812, allocations: 142.6 kB / 0.9092 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002439/0.9814, allocations: 386.7 kB / 0.9096 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.9818, allocations: 249.8 kB / 0.9098 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009141/0.9827, allocations: 0.8617 MB / 0.9107 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.9839, allocations: 0.7957 MB / 0.9114 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.9839, allocations: 11.88 kB / 0.9115 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001411/0.9853, allocations: 0.8468 MB / 0.9123 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.9853, allocations: 8 kB / 0.9123 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.9853, allocations: 8 kB / 0.9123 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.9854, allocations: 12 kB / 0.9123 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/0.986, allocations: 151.8 kB / 0.9125 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.986, allocations: 15.98 kB / 0.9125 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007553/0.9868, allocations: 86.61 kB / 0.9126 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.9868, allocations: 32 kB / 0.9126 GB, free: 11.35 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.0005715/0.9874, allocations: 333.5 kB / 0.9129 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.9875, allocations: 75.53 kB / 0.913 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.9887, allocations: 0.6093 MB / 0.9136 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.9887, allocations: 4 kB / 0.9136 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9887, allocations: 0 / 0.9136 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000822/0.9895, allocations: 0.5211 MB / 0.9141 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.9922, allocations: 1.441 MB / 0.9155 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.9922, allocations: 4 kB / 0.9155 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.9927, allocations: 115.8 kB / 0.9156 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.9928, allocations: 4 kB / 0.9156 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/0.9928, allocations: 8.219 kB / 0.9156 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.355e-06/0.9928, allocations: 11.94 kB / 0.9156 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.9928, allocations: 5 kB / 0.9156 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.9944, allocations: 1.054 MB / 0.9167 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.9948, allocations: 147.3 kB / 0.9168 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.499e-05/0.9948, allocations: 12 kB / 0.9168 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.9953, allocations: 16 kB / 0.9168 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.9953, allocations: 31.94 kB / 0.9169 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.9954, allocations: 19.98 kB / 0.9169 GB, free: 6.824 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006214/0.996, allocations: 443 kB / 0.9173 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.996, allocations: 4 kB / 0.9173 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001069/0.9971, allocations: 319.2 kB / 0.9176 GB, free: 6.082 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.0005612/0.9976, allocations: 196.6 kB / 0.9178 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.9987, allocations: 0.5849 MB / 0.9184 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.9987, allocations: 0 / 0.9184 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.9991, allocations: 267.7 kB / 0.9186 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/1.001, allocations: 372.8 kB / 0.919 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/1.004, allocations: 1.918 MB / 0.9209 GB, free: 2.719 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/1.005, allocations: 0.5235 MB / 0.9214 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007495/1.006, allocations: 250.3 kB / 0.9216 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/1.006, allocations: 71.42 kB / 0.9217 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of SimCode: time 6.71e-07/1.006, allocations: 0 / 0.9217 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of Templates: time 0.03198/1.038, allocations: 16.05 MB / 0.9373 GB, free: 2.195 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: 7.26706238463521] Failed to read output from testmodel.py, exit status != 0: 1.0480510871857405 1.063294341 0.10008394199999994 Calling exit ...