Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001886/0.001886, allocations: 121.7 kB / 17.81 MB, free: 5.254 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.00228/0.00228, allocations: 187.8 kB / 20.74 MB, free: 2.324 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.434/1.434, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.832/0.832, allocations: 128.4 MB / 432.4 MB, free: 13.32 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.91 kB / 0.5987 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4365, allocations: 83.27 MB / 0.6801 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6588/1.095, allocations: 195.8 MB / 0.8713 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01768/1.113, allocations: 14.39 MB / 0.8853 GB, free: 1.734 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/1.115, allocations: 37.44 kB / 0.8854 GB, free: 1.734 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/1.116, allocations: 0.5103 MB / 0.8859 GB, free: 1.727 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005898/1.122, allocations: 1.967 MB / 0.8878 GB, free: 1.652 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/1.125, allocations: 0.8749 MB / 0.8886 GB, free: 1.625 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004201/1.13, allocations: 2.564 MB / 0.8911 GB, free: 1.625 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/1.131, allocations: 0.9188 MB / 0.892 GB, free: 1.559 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005851/1.137, allocations: 1.866 MB / 0.8939 GB, free: 1.527 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/1.139, allocations: 0.9708 MB / 0.8948 GB, free: 1.523 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003251/1.14, allocations: 106.4 kB / 0.8949 GB, free: 1.523 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/1.143, allocations: 1.152 MB / 0.896 GB, free: 1.512 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006782/1.143, allocations: 0.5017 MB / 0.8965 GB, free: 1.508 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001148/1.144, allocations: 0.6343 MB / 0.8971 GB, free: 1.508 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003588/1.148, allocations: 1.914 MB / 0.899 GB, free: 1.391 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/1.148, allocations: 3.375 kB / 0.899 GB, free: 1.391 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/1.148, allocations: 0.875 kB / 0.899 GB, free: 1.391 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.096e-05/1.148, allocations: 0.6875 kB / 0.899 GB, free: 1.391 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.002802/1.151, allocations: 1.489 MB / 0.9005 GB, free: 16.58 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.151, allocations: 11.09 kB / 0.9005 GB, free: 16.58 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/1.152, allocations: 255.6 kB / 0.9007 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/1.154, allocations: 0.8035 MB / 0.9015 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/1.154, allocations: 67.28 kB / 0.9016 GB, free: 16.19 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/1.154, allocations: 93.69 kB / 0.9017 GB, free: 16.19 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/1.156, allocations: 1.172 MB / 0.9028 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/1.156, allocations: 7.281 kB / 0.9028 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/1.156, allocations: 46.34 kB / 0.9029 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/1.156, allocations: 35.22 kB / 0.9029 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/1.157, allocations: 0.9005 MB / 0.9038 GB, free: 15.95 MB / 0.6856 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.005821/1.163, allocations: 5.822 MB / 0.9094 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/1.163, allocations: 0.5141 MB / 0.91 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/1.164, allocations: 299.2 kB / 0.9102 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/1.164, allocations: 315 kB / 0.9105 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/1.164, allocations: 38.5 kB / 0.9106 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=49): time 3.106e-06/1.164, allocations: 1.203 kB / 0.9106 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.001428/1.166, allocations: 0.8027 MB / 0.9114 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/1.166, allocations: 62.97 kB / 0.9114 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008172/1.167, allocations: 0.7511 MB / 0.9122 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/1.167, allocations: 36.2 kB / 0.9122 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/1.167, allocations: 0.519 MB / 0.9127 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/1.167, allocations: 184.6 kB / 0.9129 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/1.168, allocations: 141.9 kB / 0.913 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.168, allocations: 333.1 kB / 0.9133 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/1.168, allocations: 250.3 kB / 0.9136 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00066/1.169, allocations: 0.5564 MB / 0.9141 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008781/1.17, allocations: 0.7999 MB / 0.9149 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.17, allocations: 2.562 kB / 0.9149 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001109/1.171, allocations: 0.8528 MB / 0.9157 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.171, allocations: 7.938 kB / 0.9157 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.171, allocations: 11.98 kB / 0.9157 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/1.171, allocations: 17.91 kB / 0.9158 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/1.171, allocations: 151.9 kB / 0.9159 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/1.171, allocations: 21.84 kB / 0.9159 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007938/1.172, allocations: 90.89 kB / 0.916 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.556e-05/1.172, allocations: 33.34 kB / 0.916 GB, free: 9.934 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.0004611/1.173, allocations: 336.1 kB / 0.9164 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/1.173, allocations: 88.22 kB / 0.9164 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008902/1.174, allocations: 0.6204 MB / 0.9171 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.174, allocations: 9.562 kB / 0.9171 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.174, allocations: 3.188 kB / 0.9171 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006292/1.174, allocations: 0.5135 MB / 0.9176 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/1.177, allocations: 1.67 MB / 0.9192 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.177, allocations: 4.562 kB / 0.9192 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004998/1.177, allocations: 112.3 kB / 0.9193 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/1.177, allocations: 4.438 kB / 0.9193 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/1.177, allocations: 18.19 kB / 0.9193 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/1.177, allocations: 4.125 kB / 0.9193 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.177, allocations: 5.75 kB / 0.9193 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/1.178, allocations: 1.021 MB / 0.9203 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/1.179, allocations: 233.9 kB / 0.9206 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/1.179, allocations: 15.91 kB / 0.9206 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004577/1.179, allocations: 13.56 kB / 0.9206 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/1.179, allocations: 40.05 kB / 0.9206 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/1.179, allocations: 20.12 kB / 0.9206 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005985/1.18, allocations: 0.5107 MB / 0.9211 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.1e-08/1.18, allocations: 0 / 0.9211 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001028/1.181, allocations: 305.3 kB / 0.9214 GB, free: 8.707 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.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.0005396/1.182, allocations: 209.7 kB / 0.9216 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008773/1.183, allocations: 0.5813 MB / 0.9222 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.183, allocations: 8.5 kB / 0.9222 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003085/1.183, allocations: 265.4 kB / 0.9225 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/1.185, allocations: 436.2 kB / 0.9229 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/1.188, allocations: 2.034 MB / 0.9249 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/1.189, allocations: 1.125 MB / 0.926 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/1.189, allocations: 80.78 kB / 0.926 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of SimCode: time 1.032e-06/1.189, allocations: 0 / 0.926 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of Templates: time 0.02479/1.214, allocations: 14.71 MB / 0.9404 GB, free: 2.32 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.707747085951269] Failed to read output from testmodel.py, exit status != 0: 1.2224023910239339 1.234281183 0.083060031 Calling exit ...