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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.001681, allocations: 101.1 kB / 16.64 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 185.9 kB / 17.56 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 241.2 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8248/0.8248, allocations: 125.4 MB / 416.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.89 kB / 0.4943 GB, free: 4.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3953, allocations: 78.57 MB / 0.571 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.586/0.9813, allocations: 192.6 MB / 0.7591 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01935/1.001, allocations: 14.23 MB / 0.773 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/1.003, allocations: 35.69 kB / 0.773 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001933/1.005, allocations: 443.7 kB / 0.7734 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005935/1.011, allocations: 1.753 MB / 0.7751 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003082/1.014, allocations: 0.787 MB / 0.7759 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004358/1.018, allocations: 2.57 MB / 0.7784 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/1.021, allocations: 1.066 MB / 0.7795 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007351/1.028, allocations: 1.804 MB / 0.7812 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/1.031, allocations: 0.9665 MB / 0.7822 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005021/1.031, allocations: 107.2 kB / 0.7823 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/1.034, allocations: 1.141 MB / 0.7834 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006792/1.035, allocations: 0.4987 MB / 0.7839 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/1.036, allocations: 0.6345 MB / 0.7845 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/1.038, allocations: 1.445 MB / 0.7859 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.038, allocations: 0.875 kB / 0.7859 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.793e-06/1.038, allocations: 0 / 0.7859 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.915e-05/1.038, allocations: 0 / 0.7859 GB, free: 1.383 MB / 0.5762 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.002412/1.04, allocations: 1.452 MB / 0.7873 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.04, allocations: 10.19 kB / 0.7873 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/1.042, allocations: 258 kB / 0.7876 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/1.043, allocations: 0.7478 MB / 0.7883 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/1.043, allocations: 71.22 kB / 0.7884 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/1.043, allocations: 97.59 kB / 0.7885 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/1.044, allocations: 1.17 MB / 0.7896 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/1.045, allocations: 3.969 kB / 0.7896 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.971e-05/1.045, allocations: 41.59 kB / 0.7897 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/1.045, allocations: 36.39 kB / 0.7897 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/1.046, allocations: 0.901 MB / 0.7906 GB, free: 15.98 MB / 0.5919 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.006256/1.052, allocations: 5.8 MB / 0.7962 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007632/1.053, allocations: 0.5378 MB / 0.7968 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/1.053, allocations: 314.5 kB / 0.7971 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006187/1.054, allocations: 308.5 kB / 0.7974 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/1.054, allocations: 42.59 kB / 0.7974 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.445e-06/1.054, allocations: 1.812 kB / 0.7974 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001487/1.055, allocations: 0.8052 MB / 0.7982 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/1.056, allocations: 57.16 kB / 0.7982 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/1.056, allocations: 0.7454 MB / 0.799 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-05/1.057, allocations: 37.92 kB / 0.799 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/1.057, allocations: 0.5156 MB / 0.7995 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/1.057, allocations: 176.6 kB / 0.7997 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/1.057, allocations: 138.2 kB / 0.7998 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.058, allocations: 333.3 kB / 0.8001 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/1.058, allocations: 249.5 kB / 0.8004 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006463/1.058, allocations: 0.5542 MB / 0.8009 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009297/1.059, allocations: 0.7938 MB / 0.8017 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/1.059, allocations: 5.203 kB / 0.8017 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001218/1.061, allocations: 0.8435 MB / 0.8025 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.061, allocations: 10.39 kB / 0.8025 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.061, allocations: 8.156 kB / 0.8025 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/1.061, allocations: 20.66 kB / 0.8025 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/1.061, allocations: 153.5 kB / 0.8027 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/1.061, allocations: 18.33 kB / 0.8027 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009859/1.062, allocations: 149 kB / 0.8029 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/1.062, allocations: 39.64 kB / 0.8029 GB, free: 9.988 MB / 0.5919 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.0005169/1.063, allocations: 329.5 kB / 0.8032 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/1.063, allocations: 86.19 kB / 0.8033 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/1.064, allocations: 0.6157 MB / 0.8039 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.064, allocations: 7.875 kB / 0.8039 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/1.064, allocations: 3.984 kB / 0.8039 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006399/1.065, allocations: 0.523 MB / 0.8044 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/1.067, allocations: 1.67 MB / 0.806 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.067, allocations: 10.3 kB / 0.8061 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/1.068, allocations: 107 kB / 0.8062 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/1.068, allocations: 3.594 kB / 0.8062 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/1.068, allocations: 18.81 kB / 0.8062 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/1.068, allocations: 2.719 kB / 0.8062 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.068, allocations: 3.438 kB / 0.8062 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/1.069, allocations: 1.019 MB / 0.8072 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004045/1.07, allocations: 220.9 kB / 0.8074 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/1.07, allocations: 11.94 kB / 0.8074 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005919/1.07, allocations: 71.59 kB / 0.8075 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.07, allocations: 41.86 kB / 0.8075 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/1.071, allocations: 15.06 kB / 0.8075 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006248/1.071, allocations: 0.5145 MB / 0.808 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/1.071, allocations: 0 / 0.808 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009841/1.072, allocations: 297 kB / 0.8083 GB, free: 8.773 MB / 0.5919 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.0005689/1.073, allocations: 217.3 kB / 0.8085 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00117/1.074, allocations: 0.7167 MB / 0.8092 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/1.074, allocations: 0.9062 kB / 0.8092 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003711/1.074, allocations: 269.5 kB / 0.8095 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/1.076, allocations: 438 kB / 0.8099 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/1.08, allocations: 2.392 MB / 0.8122 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008446/1.081, allocations: 1.13 MB / 0.8133 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/1.081, allocations: 77.5 kB / 0.8134 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of SimCode: time 8.72e-07/1.081, allocations: 0 / 0.8134 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of Templates: time 0.0277/1.109, allocations: 14.56 MB / 0.8276 GB, free: 15.91 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (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)