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.001384/0.001384, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001574/0.001574, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 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.476/1.476, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.002648/0.002648, allocations: 229.4 kB / 259.8 MB, free: 12.84 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 1.09/1.09, allocations: 138.4 MB / 454.7 MB, free: 1.434 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.743e-06/1.743e-06, allocations: 0 / 0.5543 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.892e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.4421/0.4421, allocations: 172.5 MB / 0.7228 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02145/0.4636, allocations: 13.09 MB / 0.7356 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.4647, allocations: 55.5 kB / 0.7356 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.4664, allocations: 0.4928 MB / 0.7361 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.005334/0.4717, allocations: 1.994 MB / 0.738 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.4745, allocations: 0.9348 MB / 0.7389 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004151/0.4786, allocations: 2.634 MB / 0.7415 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.4803, allocations: 0.8241 MB / 0.7423 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005702/0.486, allocations: 2.018 MB / 0.7443 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.4879, allocations: 0.8816 MB / 0.7452 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000312/0.4882, allocations: 108 kB / 0.7453 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.4907, allocations: 0.9465 MB / 0.7462 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008455/0.4915, allocations: 0.5414 MB / 0.7467 GB, free: 5.684 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.4925, allocations: 455 kB / 0.7471 GB, free: 5.238 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003924/0.4965, allocations: 1.947 MB / 0.749 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4965, allocations: 4 kB / 0.7491 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4965, allocations: 0 / 0.7491 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.31e-05/0.4965, allocations: 0 / 0.7491 GB, free: 3.281 MB / 0.5573 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.003034/0.4996, allocations: 1.399 MB / 0.7504 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.4996, allocations: 8.75 kB / 0.7504 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.5012, allocations: 358.7 kB / 0.7508 GB, free: 1.484 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.503, allocations: 0.7635 MB / 0.7515 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.664e-05/0.5031, allocations: 73.94 kB / 0.7516 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.5033, allocations: 95.94 kB / 0.7517 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.5055, allocations: 1.294 MB / 0.7529 GB, free: 15.12 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.5056, allocations: 8 kB / 0.7529 GB, free: 15.12 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.5057, allocations: 41.05 kB / 0.753 GB, free: 15.08 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/0.5057, allocations: 34 kB / 0.753 GB, free: 15.04 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.5074, allocations: 0.9015 MB / 0.7539 GB, free: 14.14 MB / 0.573 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.006351/0.5137, allocations: 4.019 MB / 0.7578 GB, free: 10 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00099/0.5147, allocations: 0.5206 MB / 0.7583 GB, free: 9.477 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.5152, allocations: 298.7 kB / 0.7586 GB, free: 9.184 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/0.5157, allocations: 80.41 kB / 0.7587 GB, free: 9.102 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.5158, allocations: 39.06 kB / 0.7587 GB, free: 9.055 MB / 0.573 GB Notification: Performance of pre-optimization done (n=49): time 1.864e-06/0.5158, allocations: 0 / 0.7587 GB, free: 9.055 MB / 0.573 GB Notification: Performance of matching and sorting (n=49): time 0.001766/0.5175, allocations: 0.8244 MB / 0.7595 GB, free: 8.23 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.5176, allocations: 55.91 kB / 0.7596 GB, free: 8.16 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.5186, allocations: 0.6565 MB / 0.7602 GB, free: 7.5 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.667e-05/0.5187, allocations: 37.7 kB / 0.7603 GB, free: 7.457 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/0.5192, allocations: 0.5193 MB / 0.7608 GB, free: 6.93 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.5194, allocations: 186.4 kB / 0.761 GB, free: 6.746 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.5196, allocations: 146.6 kB / 0.7611 GB, free: 6.598 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002577/0.5199, allocations: 378.8 kB / 0.7615 GB, free: 6.219 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004495/0.5203, allocations: 254.5 kB / 0.7617 GB, free: 5.969 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.5216, allocations: 0.8319 MB / 0.7625 GB, free: 4.938 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.5228, allocations: 0.8044 MB / 0.7633 GB, free: 4.027 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.5229, allocations: 0 / 0.7633 GB, free: 4.027 MB / 0.573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001656/0.5245, allocations: 0.8833 MB / 0.7642 GB, free: 3.137 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.5245, allocations: 8 kB / 0.7642 GB, free: 3.129 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.5246, allocations: 8.875 kB / 0.7642 GB, free: 3.121 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.349e-05/0.5246, allocations: 12 kB / 0.7642 GB, free: 3.109 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.5252, allocations: 151.8 kB / 0.7643 GB, free: 2.961 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/0.5252, allocations: 20.45 kB / 0.7643 GB, free: 2.941 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/0.526, allocations: 79.5 kB / 0.7644 GB, free: 2.863 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.122e-05/0.5261, allocations: 32.05 kB / 0.7645 GB, free: 2.832 MB / 0.573 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.0005576/0.5266, allocations: 329.5 kB / 0.7648 GB, free: 2.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.5268, allocations: 107.4 kB / 0.7649 GB, free: 2.395 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.5281, allocations: 0.6124 MB / 0.7655 GB, free: 1.773 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.5281, allocations: 4 kB / 0.7655 GB, free: 1.77 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5281, allocations: 0 / 0.7655 GB, free: 1.77 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008897/0.529, allocations: 0.5226 MB / 0.766 GB, free: 1.234 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.5318, allocations: 1.44 MB / 0.7674 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.5318, allocations: 7.938 kB / 0.7674 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.5324, allocations: 111.8 kB / 0.7675 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.5324, allocations: 4 kB / 0.7675 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.5324, allocations: 20.22 kB / 0.7675 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.5324, allocations: 4.812 kB / 0.7675 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5324, allocations: 0 / 0.7675 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.5341, allocations: 1.021 MB / 0.7685 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006392/0.5348, allocations: 147.3 kB / 0.7687 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.5349, allocations: 15.98 kB / 0.7687 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.5354, allocations: 16.81 kB / 0.7687 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.5355, allocations: 39.81 kB / 0.7687 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.5355, allocations: 19.98 kB / 0.7688 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006909/0.5362, allocations: 443 kB / 0.7692 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5362, allocations: 4 kB / 0.7692 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001036/0.5372, allocations: 311.3 kB / 0.7695 GB, free: 13.56 MB / 0.5886 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.0005754/0.5378, allocations: 202 kB / 0.7697 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.539, allocations: 0.5856 MB / 0.7702 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.539, allocations: 4.062 kB / 0.7702 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004513/0.5394, allocations: 267.7 kB / 0.7705 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.5412, allocations: 389.2 kB / 0.7709 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.5447, allocations: 1.845 MB / 0.7727 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006822/0.5454, allocations: 0.5348 MB / 0.7732 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008105/0.5462, allocations: 246.3 kB / 0.7734 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.5464, allocations: 68.48 kB / 0.7735 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/0.5464, allocations: 0 / 0.7735 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of Templates: time 0.02887/0.5753, allocations: 14.44 MB / 0.7876 GB, free: 11.38 MB / 0.6042 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.506853868952021]