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.001188/0.001188, allocations: 77.8 kB / 19.01 MB, free: 2.859 MB / 14.72 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.001479/0.001479, allocations: 159.1 kB / 22.26 MB, free: 5.117 MB / 14.72 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.407/1.407, allocations: 177.2 MB / 202.6 MB, free: 9.27 MB / 190.1 MB " [Timeout remaining time 178] 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.002568/0.002568, allocations: 226 kB / 259.2 MB, free: 0.5977 MB / 238.1 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 1.033/1.033, allocations: 138.5 MB / 454.2 MB, free: 2.062 MB / 366.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002991/0.002991, allocations: 95.86 kB / 0.6466 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4087, allocations: 95.35 MB / 0.7397 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.2226/0.6313, allocations: 172.5 MB / 0.9082 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01843/0.6498, allocations: 13.12 MB / 0.921 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.651, allocations: 51.56 kB / 0.921 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.6525, allocations: 0.489 MB / 0.9215 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004824/0.6573, allocations: 1.937 MB / 0.9234 GB, free: 2.293 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.66, allocations: 0.8947 MB / 0.9243 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003959/0.6639, allocations: 2.616 MB / 0.9268 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.6653, allocations: 0.799 MB / 0.9276 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005234/0.6705, allocations: 2.012 MB / 0.9296 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.6723, allocations: 0.9516 MB / 0.9305 GB, free: 11 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.6724, allocations: 112 kB / 0.9306 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.6747, allocations: 0.9351 MB / 0.9315 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006102/0.6753, allocations: 0.5064 MB / 0.932 GB, free: 9.449 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007154/0.6761, allocations: 0.5251 MB / 0.9325 GB, free: 8.922 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002756/0.6788, allocations: 1.9 MB / 0.9344 GB, free: 7.016 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.6788, allocations: 4 kB / 0.9344 GB, free: 7.012 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6788, allocations: 0 / 0.9344 GB, free: 7.012 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.6788, allocations: 0 / 0.9344 GB, free: 7.012 MB / 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.002516/0.6814, allocations: 1.411 MB / 0.9358 GB, free: 5.562 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.6814, allocations: 13.94 kB / 0.9358 GB, free: 5.551 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.6828, allocations: 259 kB / 0.936 GB, free: 5.297 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.6843, allocations: 0.7245 MB / 0.9368 GB, free: 4.543 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/0.6843, allocations: 74 kB / 0.9368 GB, free: 4.469 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.6845, allocations: 91.98 kB / 0.9369 GB, free: 4.379 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.6864, allocations: 1.298 MB / 0.9382 GB, free: 2.98 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.6864, allocations: 7.938 kB / 0.9382 GB, free: 2.973 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.704e-05/0.6865, allocations: 39.94 kB / 0.9382 GB, free: 2.934 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/0.6866, allocations: 34 kB / 0.9383 GB, free: 2.898 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.688, allocations: 0.9016 MB / 0.9391 GB, free: 1.996 MB / 0.7637 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.3548/1.043, allocations: 3.993 MB / 0.943 GB, free: 199.9 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009419/1.044, allocations: 0.5094 MB / 0.9435 GB, free: 199.9 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/1.044, allocations: 298.4 kB / 0.9438 GB, free: 199.9 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005467/1.045, allocations: 83.73 kB / 0.9439 GB, free: 199.9 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/1.045, allocations: 40.62 kB / 0.9439 GB, free: 199.9 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=49): time 3.065e-06/1.045, allocations: 3.609 kB / 0.9439 GB, free: 199.9 MB / 0.7637 GB Notification: Performance of matching and sorting (n=49): time 0.001688/1.046, allocations: 0.7955 MB / 0.9447 GB, free: 199.6 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/1.047, allocations: 62.12 kB / 0.9448 GB, free: 199.6 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008531/1.047, allocations: 0.6552 MB / 0.9454 GB, free: 199.3 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/1.047, allocations: 37.55 kB / 0.9455 GB, free: 199.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/1.048, allocations: 0.5249 MB / 0.946 GB, free: 198.9 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/1.048, allocations: 185.7 kB / 0.9461 GB, free: 198.8 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/1.048, allocations: 141.6 kB / 0.9463 GB, free: 198.8 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.048, allocations: 387 kB / 0.9466 GB, free: 198.4 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/1.049, allocations: 249.4 kB / 0.9469 GB, free: 198.3 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/1.049, allocations: 0.8276 MB / 0.9477 GB, free: 197.5 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/1.05, allocations: 0.7998 MB / 0.9485 GB, free: 197 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.05, allocations: 2.031 kB / 0.9485 GB, free: 197 MB / 0.7637 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001301/1.052, allocations: 0.8545 MB / 0.9493 GB, free: 196.6 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.052, allocations: 8.094 kB / 0.9493 GB, free: 196.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.052, allocations: 8.594 kB / 0.9493 GB, free: 196.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/1.052, allocations: 12.31 kB / 0.9493 GB, free: 196.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/1.052, allocations: 152.5 kB / 0.9495 GB, free: 196.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.139e-05/1.052, allocations: 14.02 kB / 0.9495 GB, free: 196.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/1.053, allocations: 76.2 kB / 0.9496 GB, free: 196.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/1.053, allocations: 44.06 kB / 0.9496 GB, free: 196.6 MB / 0.7637 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.0004583/1.053, allocations: 331.6 kB / 0.9499 GB, free: 196.4 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/1.054, allocations: 81.81 kB / 0.95 GB, free: 196.3 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/1.055, allocations: 0.6151 MB / 0.9506 GB, free: 196.1 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.055, allocations: 5.703 kB / 0.9506 GB, free: 196.1 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.055, allocations: 0.5625 kB / 0.9506 GB, free: 196.1 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008949/1.056, allocations: 0.5166 MB / 0.9511 GB, free: 195.8 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/1.059, allocations: 1.445 MB / 0.9525 GB, free: 195.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.059, allocations: 1.562 kB / 0.9525 GB, free: 195.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006253/1.059, allocations: 105.4 kB / 0.9526 GB, free: 195.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/1.059, allocations: 4.031 kB / 0.9526 GB, free: 195.1 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/1.059, allocations: 18.83 kB / 0.9526 GB, free: 195.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/1.059, allocations: 4.531 kB / 0.9527 GB, free: 195.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.059, allocations: 7.062 kB / 0.9527 GB, free: 195.1 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/1.061, allocations: 1.013 MB / 0.9537 GB, free: 194.6 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/1.061, allocations: 138 kB / 0.9538 GB, free: 194.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.109e-05/1.061, allocations: 14.45 kB / 0.9538 GB, free: 194.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/1.062, allocations: 19.2 kB / 0.9538 GB, free: 194.5 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/1.062, allocations: 43.47 kB / 0.9539 GB, free: 194.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/1.062, allocations: 22.14 kB / 0.9539 GB, free: 194.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004889/1.062, allocations: 442.5 kB / 0.9543 GB, free: 194.3 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/1.062, allocations: 0 / 0.9543 GB, free: 194.3 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008613/1.063, allocations: 314.3 kB / 0.9546 GB, free: 194.3 MB / 0.7637 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.0004319/1.064, allocations: 198.5 kB / 0.9548 GB, free: 194.2 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.000878/1.065, allocations: 0.5849 MB / 0.9554 GB, free: 194 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.065, allocations: 3.438 kB / 0.9554 GB, free: 194 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003094/1.065, allocations: 262.4 kB / 0.9556 GB, free: 193.9 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/1.066, allocations: 388.8 kB / 0.956 GB, free: 193.8 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/1.069, allocations: 1.94 MB / 0.9579 GB, free: 192.4 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/1.069, allocations: 0.5218 MB / 0.9584 GB, free: 191.9 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006176/1.07, allocations: 250.6 kB / 0.9586 GB, free: 191.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/1.07, allocations: 67.83 kB / 0.9587 GB, free: 191.7 MB / 0.7637 GB Notification: Performance of SimCode: time 7.92e-07/1.07, allocations: 4 kB / 0.9587 GB, free: 191.7 MB / 0.7637 GB Notification: Performance of Templates: time 0.02013/1.09, allocations: 14.48 MB / 0.9728 GB, free: 177.7 MB / 0.7637 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: 6.878906205296516] Failed to read output from testmodel.py, exit status != 0: 1.0982795897871256 1.106926559 0.42579320600000004 Calling exit ...