Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001264/0.001264, 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.00131/0.00131, 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.465/1.465, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002821/0.002821, allocations: 292.4 kB / 304.8 MB, free: 3.441 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 180.9 MB / 0.5281 GB, free: 1.906 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003111/0.003111, allocations: 103.8 kB / 0.7284 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5779/0.5811, allocations: 94.15 MB / 0.8203 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.2623/0.8433, allocations: 196.2 MB / 1.012 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02563/0.869, allocations: 14.48 MB / 1.026 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.8705, allocations: 35.81 kB / 1.026 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.8726, allocations: 0.5085 MB / 1.027 GB, free: 9.824 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005979/0.8786, allocations: 1.972 MB / 1.028 GB, free: 7.844 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.8816, allocations: 0.8732 MB / 1.029 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004488/0.8861, allocations: 2.587 MB / 1.032 GB, free: 4.383 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.8878, allocations: 0.7981 MB / 1.033 GB, free: 3.562 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005057/0.8928, allocations: 1.647 MB / 1.034 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.8953, allocations: 0.9968 MB / 1.035 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0005494/0.8958, allocations: 104 kB / 1.035 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003519/0.8993, allocations: 1.165 MB / 1.036 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0009851/0.9003, allocations: 0.5181 MB / 1.037 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001922/0.9022, allocations: 0.6339 MB / 1.038 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004958/0.9072, allocations: 1.915 MB / 1.039 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.9072, allocations: 0 / 1.039 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9072, allocations: 0 / 1.039 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.475e-05/0.9073, allocations: 0 / 1.039 GB, free: 12.58 MB / 0.7794 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.003447/0.9107, allocations: 1.486 MB / 1.041 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.9108, allocations: 12.03 kB / 1.041 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.9124, allocations: 271 kB / 1.041 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.9143, allocations: 0.7927 MB / 1.042 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-05/0.9144, allocations: 73.98 kB / 1.042 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.9146, allocations: 91.98 kB / 1.042 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.9171, allocations: 1.165 MB / 1.043 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.9171, allocations: 7.938 kB / 1.043 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.9172, allocations: 43.94 kB / 1.043 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.9173, allocations: 37.98 kB / 1.043 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.9192, allocations: 0.8976 MB / 1.044 GB, free: 7.547 MB / 0.7794 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.009581/0.9288, allocations: 5.755 MB / 1.05 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.9299, allocations: 0.5068 MB / 1.05 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006774/0.9306, allocations: 302.5 kB / 1.051 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000681/0.9312, allocations: 315.7 kB / 1.051 GB, free: 164 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/0.9313, allocations: 39 kB / 1.051 GB, free: 116 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=49): time 2.905e-06/0.9313, allocations: 0 / 1.051 GB, free: 116 kB / 0.7794 GB Notification: Performance of matching and sorting (n=49): time 0.001955/0.9333, allocations: 0.807 MB / 1.052 GB, free: 15.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.9333, allocations: 59.78 kB / 1.052 GB, free: 15.23 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.9349, allocations: 0.7549 MB / 1.053 GB, free: 14.47 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.109e-05/0.935, allocations: 37.7 kB / 1.053 GB, free: 14.43 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006492/0.9356, allocations: 0.5116 MB / 1.053 GB, free: 13.91 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/0.9359, allocations: 186.4 kB / 1.053 GB, free: 13.72 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.9362, allocations: 142.6 kB / 1.053 GB, free: 13.58 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002621/0.9364, allocations: 341.9 kB / 1.054 GB, free: 13.24 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.9369, allocations: 249.8 kB / 1.054 GB, free: 12.99 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007556/0.9376, allocations: 0.5547 MB / 1.054 GB, free: 12.3 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.9388, allocations: 0.7917 MB / 1.055 GB, free: 11.4 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.9388, allocations: 4 kB / 1.055 GB, free: 11.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001746/0.9406, allocations: 0.8547 MB / 1.056 GB, free: 10.54 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.9406, allocations: 8 kB / 1.056 GB, free: 10.53 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.9406, allocations: 11.98 kB / 1.056 GB, free: 10.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.9406, allocations: 12 kB / 1.056 GB, free: 10.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007073/0.9413, allocations: 155.7 kB / 1.056 GB, free: 10.35 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.674e-05/0.9414, allocations: 15.94 kB / 1.056 GB, free: 10.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000853/0.9422, allocations: 95.75 kB / 1.056 GB, free: 10.24 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.057e-05/0.9423, allocations: 39.92 kB / 1.056 GB, free: 10.2 MB / 0.795 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.0007248/0.943, allocations: 333.9 kB / 1.057 GB, free: 9.867 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.9433, allocations: 91.44 kB / 1.057 GB, free: 9.777 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.9445, allocations: 0.618 MB / 1.057 GB, free: 9.156 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.9445, allocations: 4 kB / 1.057 GB, free: 9.152 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9445, allocations: 4 kB / 1.057 GB, free: 9.148 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008067/0.9453, allocations: 0.525 MB / 1.058 GB, free: 8.609 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003119/0.9485, allocations: 1.663 MB / 1.06 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.9485, allocations: 7.922 kB / 1.06 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005439/0.949, allocations: 107.9 kB / 1.06 GB, free: 6.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.949, allocations: 4 kB / 1.06 GB, free: 6.746 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/0.9491, allocations: 11.98 kB / 1.06 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.568e-05/0.9491, allocations: 7.938 kB / 1.06 GB, free: 6.727 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.9491, allocations: 4 kB / 1.06 GB, free: 6.723 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.9506, allocations: 1.019 MB / 1.061 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004537/0.951, allocations: 232.3 kB / 1.061 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.9512, allocations: 16 kB / 1.061 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.9517, allocations: 14.81 kB / 1.061 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.9518, allocations: 35.95 kB / 1.061 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.9518, allocations: 19.98 kB / 1.061 GB, free: 5.336 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008426/0.9527, allocations: 0.5107 MB / 1.062 GB, free: 4.828 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9527, allocations: 0 / 1.062 GB, free: 4.828 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001001/0.9537, allocations: 299.5 kB / 1.062 GB, free: 4.535 MB / 0.795 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.0005833/0.9542, allocations: 226.1 kB / 1.062 GB, free: 4.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.9553, allocations: 0.5842 MB / 1.063 GB, free: 3.738 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.9554, allocations: 0.6875 kB / 1.063 GB, free: 3.738 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.9557, allocations: 267.8 kB / 1.063 GB, free: 3.477 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.9578, allocations: 433 kB / 1.063 GB, free: 3.062 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.9614, allocations: 1.96 MB / 1.065 GB, free: 1.047 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.9626, allocations: 1.126 MB / 1.066 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008688/0.9635, allocations: 263 kB / 1.067 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.9637, allocations: 75.42 kB / 1.067 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of SimCode: time 1.173e-06/0.9637, allocations: 0 / 1.067 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of Templates: time 0.03347/0.9972, allocations: 15.89 MB / 1.082 GB, free: 15.92 MB / 0.8262 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.370044047012925]