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.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.001231/0.001231, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001455/0.001455, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 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.057/1.057, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001681/0.001681, allocations: 241.2 kB / 261.3 MB, free: 12.65 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7368/0.7368, allocations: 138.5 MB / 456.3 MB, free: 1.383 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(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 1.984e-06/1.984e-06, allocations: 0 / 0.5564 GB, free: 184 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.073e-05, allocations: 2.312 kB / 0.5564 GB, free: 180 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.3993/0.3993, allocations: 149.1 MB / 0.702 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006103/0.4054, allocations: 4.088 MB / 0.706 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009427/0.4064, allocations: 51.56 kB / 0.706 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008075/0.4072, allocations: 282.1 kB / 0.7063 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.4093, allocations: 1.278 MB / 0.7076 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.4108, allocations: 0.7987 MB / 0.7083 GB, free: 356 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002572/0.4134, allocations: 2.584 MB / 0.7109 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.4145, allocations: 0.8232 MB / 0.7117 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/0.4171, allocations: 1.567 MB / 0.7132 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000993/0.4181, allocations: 0.8493 MB / 0.714 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.4182, allocations: 104 kB / 0.7141 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007395/0.4189, allocations: 431 kB / 0.7145 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004006/0.4193, allocations: 0.5454 MB / 0.7151 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000458/0.4198, allocations: 455 kB / 0.7155 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.4213, allocations: 1.215 MB / 0.7167 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4213, allocations: 0 / 0.7167 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.233e-06/0.4213, allocations: 0 / 0.7167 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.745e-05/0.4213, allocations: 0 / 0.7167 GB, free: 7.848 MB / 0.5261 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.001472/0.4228, allocations: 1.484 MB / 0.7181 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.4228, allocations: 12.75 kB / 0.7182 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007765/0.4236, allocations: 331.5 kB / 0.7185 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007871/0.4244, allocations: 0.7025 MB / 0.7192 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.4244, allocations: 71.12 kB / 0.7192 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.461e-05/0.4245, allocations: 96 kB / 0.7193 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007837/0.4253, allocations: 0.9031 MB / 0.7202 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.4253, allocations: 3.938 kB / 0.7202 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/0.4254, allocations: 40 kB / 0.7202 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.4254, allocations: 34 kB / 0.7203 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.4258, allocations: 317.4 kB / 0.7206 GB, free: 3.672 MB / 0.5261 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.003435/0.4293, allocations: 4.688 MB / 0.7252 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.4297, allocations: 260.5 kB / 0.7254 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.4299, allocations: 122.9 kB / 0.7255 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/0.4301, allocations: 60.44 kB / 0.7256 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.4302, allocations: 41.89 kB / 0.7256 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=49): time 2.424e-06/0.4302, allocations: 0 / 0.7256 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49): time 0.0008468/0.431, allocations: 412.5 kB / 0.726 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.431, allocations: 63.84 kB / 0.7261 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/0.4316, allocations: 0.6473 MB / 0.7267 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.4317, allocations: 37.7 kB / 0.7267 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.4321, allocations: 0.5844 MB / 0.7273 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.4322, allocations: 186.4 kB / 0.7275 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.4324, allocations: 156.2 kB / 0.7276 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.4326, allocations: 0.5702 MB / 0.7282 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.4328, allocations: 69.94 kB / 0.7283 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.4333, allocations: 0.7741 MB / 0.729 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/0.4339, allocations: 0.564 MB / 0.7296 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.4339, allocations: 7.938 kB / 0.7296 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007527/0.4346, allocations: 0.5246 MB / 0.7301 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4346, allocations: 8 kB / 0.7301 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4346, allocations: 8 kB / 0.7301 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.4347, allocations: 12 kB / 0.7301 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.4351, allocations: 160.7 kB / 0.7303 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.4351, allocations: 12 kB / 0.7303 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.4356, allocations: 85.64 kB / 0.7304 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.4356, allocations: 28 kB / 0.7304 GB, free: 8.988 MB / 0.5417 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.0002582/0.4359, allocations: 204.4 kB / 0.7306 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.436, allocations: 103.4 kB / 0.7307 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00054/0.4365, allocations: 346.4 kB / 0.731 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.4366, allocations: 4 kB / 0.731 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.4366, allocations: 0 / 0.731 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000323/0.4369, allocations: 255.2 kB / 0.7313 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.4384, allocations: 1.022 MB / 0.7323 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.4384, allocations: 0.5 kB / 0.7323 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.4387, allocations: 107.9 kB / 0.7324 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.4387, allocations: 11.97 kB / 0.7324 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.4388, allocations: 12 kB / 0.7324 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.4388, allocations: 8.625 kB / 0.7324 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4388, allocations: 4 kB / 0.7324 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007129/0.4395, allocations: 0.6234 MB / 0.733 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.4397, allocations: 135.3 kB / 0.7331 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.999e-05/0.4398, allocations: 16 kB / 0.7331 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.4401, allocations: 10.75 kB / 0.7332 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.4401, allocations: 35.88 kB / 0.7332 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.4402, allocations: 19.98 kB / 0.7332 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002994/0.4405, allocations: 375.4 kB / 0.7336 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.4405, allocations: 3.938 kB / 0.7336 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008641/0.4413, allocations: 307.3 kB / 0.7339 GB, free: 5.285 MB / 0.5417 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.0004666/0.4418, allocations: 178.5 kB / 0.734 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005151/0.4423, allocations: 328.5 kB / 0.7343 GB, free: 4.793 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4423, allocations: 0 / 0.7343 GB, free: 4.793 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.4425, allocations: 144.5 kB / 0.7345 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.4438, allocations: 384.8 kB / 0.7349 GB, free: 4.312 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005636/0.4495, allocations: 1.65 MB / 0.7365 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.4497, allocations: 251.1 kB / 0.7367 GB, free: 2.336 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004754/0.4501, allocations: 130.1 kB / 0.7368 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006821/0.4508, allocations: 377.9 kB / 0.7372 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of SimCode: time 1.513e-06/0.4508, allocations: 0 / 0.7372 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of Templates: time 0.04759/0.4984, allocations: 15.58 MB / 0.7524 GB, free: 2.711 MB / 0.5573 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4014782081358135]