Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.895/0.895, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 187.2 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 221.3 MB / 441.4 MB, free: 4.66 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008438/0.000844, allocations: 97.06 kB / 0.5124 GB, free: 24.28 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001894/0.001894, allocations: 273.2 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.674e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4837, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.283/4.767, allocations: 1.89 GB / 2.654 GB, free: 157.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/4.767, allocations: 96.92 kB / 2.654 GB, free: 157.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.989/6.756, allocations: 0.6149 GB / 3.269 GB, free: 69.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.182e-06/6.756, allocations: 0 / 3.269 GB, free: 69.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.645e-05/6.756, allocations: 23.17 kB / 3.269 GB, free: 68.99 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001859/6.758, allocations: 1.025 MB / 3.27 GB, free: 67.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/6.758, allocations: 8.031 kB / 3.27 GB, free: 67.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000844/6.759, allocations: 186.8 kB / 3.27 GB, free: 67.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008242/6.76, allocations: 0.5406 MB / 3.271 GB, free: 67.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003224/6.76, allocations: 105.2 kB / 3.271 GB, free: 67.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/6.76, allocations: 60 kB / 3.271 GB, free: 66.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008657/6.761, allocations: 0.7229 MB / 3.272 GB, free: 66.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/6.761, allocations: 11.92 kB / 3.272 GB, free: 66.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/6.761, allocations: 28 kB / 3.272 GB, free: 66.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/6.761, allocations: 20.78 kB / 3.272 GB, free: 66.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/6.762, allocations: 384.1 kB / 3.272 GB, free: 65.72 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.002787/6.765, allocations: 4.195 MB / 3.276 GB, free: 61.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.278e-05/6.765, allocations: 102.4 kB / 3.276 GB, free: 61.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/6.765, allocations: 71.59 kB / 3.276 GB, free: 61.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/6.765, allocations: 101.1 kB / 3.276 GB, free: 60.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/6.765, allocations: 38.45 kB / 3.276 GB, free: 60.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.645e-06/6.765, allocations: 0 / 3.276 GB, free: 60.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0005266/6.765, allocations: 204.7 kB / 3.277 GB, free: 60.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/6.766, allocations: 136.6 kB / 3.277 GB, free: 60.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006648/6.766, allocations: 0.7071 MB / 3.277 GB, free: 59.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/6.766, allocations: 33.7 kB / 3.277 GB, free: 59.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/6.766, allocations: 391 kB / 3.278 GB, free: 59.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/6.766, allocations: 43.45 kB / 3.278 GB, free: 59.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/6.766, allocations: 4 kB / 3.278 GB, free: 59.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.717e-05/6.767, allocations: 322 kB / 3.278 GB, free: 59.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/6.767, allocations: 79.97 kB / 3.278 GB, free: 58.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/6.767, allocations: 319.7 kB / 3.278 GB, free: 58.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/6.767, allocations: 127.9 kB / 3.279 GB, free: 58.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/6.767, allocations: 4 kB / 3.279 GB, free: 58.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004928/6.768, allocations: 432.8 kB / 3.279 GB, free: 57.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/6.768, allocations: 12.16 kB / 3.279 GB, free: 57.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/6.768, allocations: 11.95 kB / 3.279 GB, free: 57.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/6.768, allocations: 12 kB / 3.279 GB, free: 57.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/6.768, allocations: 87.83 kB / 3.279 GB, free: 57.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/6.768, allocations: 19.92 kB / 3.279 GB, free: 57.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006882/6.769, allocations: 135.1 kB / 3.279 GB, free: 57.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/6.769, allocations: 24 kB / 3.279 GB, free: 57.68 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.933e-05/6.769, allocations: 128.8 kB / 3.279 GB, free: 57.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/6.769, allocations: 71.16 kB / 3.28 GB, free: 57.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/6.769, allocations: 70.02 kB / 3.28 GB, free: 57.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/6.769, allocations: 11.45 kB / 3.28 GB, free: 57.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/6.769, allocations: 4 kB / 3.28 GB, free: 57.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/6.769, allocations: 4 kB / 3.28 GB, free: 57.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/6.77, allocations: 1.12 MB / 3.281 GB, free: 56.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/6.77, allocations: 0 / 3.281 GB, free: 56.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.395e-05/6.77, allocations: 23.92 kB / 3.281 GB, free: 56.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/6.77, allocations: 4 kB / 3.281 GB, free: 56.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/6.77, allocations: 4 kB / 3.281 GB, free: 56.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/6.77, allocations: 0 / 3.281 GB, free: 56.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/6.77, allocations: 4.312 kB / 3.281 GB, free: 56.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/6.77, allocations: 375.2 kB / 3.281 GB, free: 55.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/6.771, allocations: 172.1 kB / 3.281 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-05/6.771, allocations: 7.953 kB / 3.281 GB, free: 55.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/6.771, allocations: 23.97 kB / 3.281 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/6.771, allocations: 12 kB / 3.281 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/6.771, allocations: 4.094 kB / 3.281 GB, free: 55.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005304/6.772, allocations: 0.5459 MB / 3.282 GB, free: 54.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/6.772, allocations: 0 / 3.282 GB, free: 54.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001168/6.773, allocations: 327.7 kB / 3.282 GB, free: 54.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002026/6.775, allocations: 1.744 MB / 3.284 GB, free: 52.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003342/6.775, allocations: 197 kB / 3.284 GB, free: 52.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/6.775, allocations: 0 / 3.284 GB, free: 52.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.614e-05/6.775, allocations: 52.41 kB / 3.284 GB, free: 52.53 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/6.777, allocations: 358.6 kB / 3.284 GB, free: 52.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/6.778, allocations: 0.7427 MB / 3.285 GB, free: 51.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/6.778, allocations: 0.9528 MB / 3.286 GB, free: 50.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004609/6.779, allocations: 134 kB / 3.286 GB, free: 50.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.309e-05/6.779, allocations: 55.38 kB / 3.286 GB, free: 50.22 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/6.779, allocations: 0 / 3.286 GB, free: 50.22 MB / 0.698 GB Notification: Performance of Templates: time 0.04068/6.819, allocations: 35.77 MB / 3.321 GB, free: 14.53 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)