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.001476/0.001476, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001524/0.001524, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.375/1.375, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.002311/0.002311, allocations: 280.9 kB / 303.6 MB, free: 3.695 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.025/1.025, allocations: 180.9 MB / 0.5268 GB, free: 2.719 MB / 382.1 MB " [Timeout remaining time 179] 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.002708/0.002708, allocations: 103.8 kB / 0.7259 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5357/0.5384, allocations: 94.15 MB / 0.8179 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.2192/0.7576, allocations: 195.8 MB / 1.009 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01763/0.7752, allocations: 14.38 MB / 1.023 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.7765, allocations: 39.75 kB / 1.023 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.778, allocations: 0.5047 MB / 1.024 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004705/0.7827, allocations: 1.972 MB / 1.026 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.785, allocations: 0.8715 MB / 1.026 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003255/0.7882, allocations: 2.577 MB / 1.029 GB, free: 8.277 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.7895, allocations: 0.931 MB / 1.03 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.7936, allocations: 1.647 MB / 1.031 GB, free: 5.691 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.7952, allocations: 0.9844 MB / 1.032 GB, free: 4.707 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.7953, allocations: 108 kB / 1.033 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.7975, allocations: 1.169 MB / 1.034 GB, free: 3.43 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005273/0.798, allocations: 0.5142 MB / 1.034 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0006895/0.7987, allocations: 0.6261 MB / 1.035 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002674/0.8014, allocations: 1.923 MB / 1.037 GB, free: 364 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.8014, allocations: 0 / 1.037 GB, free: 364 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8014, allocations: 0 / 1.037 GB, free: 364 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.8014, allocations: 4 kB / 1.037 GB, free: 360 kB / 0.7637 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.002598/0.804, allocations: 1.482 MB / 1.038 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.8041, allocations: 8.031 kB / 1.038 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.8054, allocations: 263 kB / 1.038 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.8068, allocations: 0.7966 MB / 1.039 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.638e-05/0.8069, allocations: 74 kB / 1.039 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.807, allocations: 92 kB / 1.039 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.8087, allocations: 1.169 MB / 1.04 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.8087, allocations: 3.938 kB / 1.04 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.458e-05/0.8088, allocations: 43.94 kB / 1.04 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/0.8089, allocations: 30 kB / 1.041 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.8103, allocations: 0.9054 MB / 1.041 GB, free: 11.33 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.006031/0.8163, allocations: 5.759 MB / 1.047 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00086/0.8171, allocations: 0.5164 MB / 1.048 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004347/0.8176, allocations: 294.5 kB / 1.048 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005896/0.8182, allocations: 311.8 kB / 1.048 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.8182, allocations: 42.98 kB / 1.048 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=49): time 2.454e-06/0.8182, allocations: 0 / 1.048 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49): time 0.001504/0.8197, allocations: 0.8069 MB / 1.049 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.8198, allocations: 55.84 kB / 1.049 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009218/0.8207, allocations: 0.751 MB / 1.05 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.8207, allocations: 37.7 kB / 1.05 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/0.8211, allocations: 0.5272 MB / 1.05 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.8213, allocations: 182.4 kB / 1.05 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.8215, allocations: 138.6 kB / 1.051 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.8217, allocations: 337.9 kB / 1.051 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.822, allocations: 249.8 kB / 1.051 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.8227, allocations: 0.5585 MB / 1.052 GB, free: 76 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.8237, allocations: 0.7956 MB / 1.052 GB, free: 15.17 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.8237, allocations: 0 / 1.052 GB, free: 15.17 MB / 0.795 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001327/0.8251, allocations: 0.8473 MB / 1.053 GB, free: 14.32 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.8251, allocations: 8 kB / 1.053 GB, free: 14.31 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.8251, allocations: 8 kB / 1.053 GB, free: 14.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.8251, allocations: 16.06 kB / 1.053 GB, free: 14.29 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.8257, allocations: 155.8 kB / 1.053 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/0.8257, allocations: 19.92 kB / 1.053 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000668/0.8264, allocations: 95.28 kB / 1.054 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.308e-05/0.8265, allocations: 35.94 kB / 1.054 GB, free: 13.98 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.000468/0.8269, allocations: 337.9 kB / 1.054 GB, free: 13.64 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.827, allocations: 91.44 kB / 1.054 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009806/0.828, allocations: 0.6141 MB / 1.055 GB, free: 12.94 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.828, allocations: 4 kB / 1.055 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.828, allocations: 4 kB / 1.055 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000718/0.8288, allocations: 0.5251 MB / 1.055 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.8313, allocations: 1.659 MB / 1.057 GB, free: 10.65 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.8313, allocations: 7.938 kB / 1.057 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/0.8318, allocations: 111.8 kB / 1.057 GB, free: 10.54 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.8318, allocations: 4 kB / 1.057 GB, free: 10.53 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.8318, allocations: 16.22 kB / 1.057 GB, free: 10.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.8318, allocations: 8 kB / 1.057 GB, free: 10.51 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8318, allocations: 0 / 1.057 GB, free: 10.51 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.8331, allocations: 1.023 MB / 1.058 GB, free: 9.445 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.8335, allocations: 240.3 kB / 1.058 GB, free: 9.191 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.716e-05/0.8336, allocations: 12 kB / 1.058 GB, free: 9.18 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/0.834, allocations: 15.98 kB / 1.058 GB, free: 9.164 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.8341, allocations: 35.89 kB / 1.058 GB, free: 9.129 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.8341, allocations: 16 kB / 1.058 GB, free: 9.113 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006348/0.8348, allocations: 0.5146 MB / 1.059 GB, free: 8.602 MB / 0.795 GB Notification: Performance of sort global known variables: time 8e-08/0.8348, allocations: 0 / 1.059 GB, free: 8.602 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008283/0.8356, allocations: 299.4 kB / 1.059 GB, free: 8.309 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.0004905/0.8361, allocations: 222 kB / 1.059 GB, free: 8.094 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009416/0.837, allocations: 0.5837 MB / 1.06 GB, free: 7.512 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.837, allocations: 0 / 1.06 GB, free: 7.512 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.8374, allocations: 261.2 kB / 1.06 GB, free: 7.258 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.8391, allocations: 444.8 kB / 1.06 GB, free: 6.84 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.8421, allocations: 2.024 MB / 1.062 GB, free: 4.754 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007545/0.8429, allocations: 1.122 MB / 1.064 GB, free: 3.605 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.8432, allocations: 79.42 kB / 1.064 GB, free: 3.527 MB / 0.795 GB Notification: Performance of SimCode: time 5.11e-07/0.8432, allocations: 3.938 kB / 1.064 GB, free: 3.523 MB / 0.795 GB Notification: Performance of Templates: time 0.02186/0.865, allocations: 14.72 MB / 1.078 GB, free: 4.938 MB / 0.8106 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: 11.461817810006323] Failed to read output from testmodel.py, exit status != 0: 0.8729538699990371 0.885159677 0.08097611299999995 Calling exit ...