Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001788/0.001788, allocations: 85.48 kB / 19.44 MB, free: 344 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.001974/0.001974, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.00308/0.00308, allocations: 237.1 kB / 259.8 MB, free: 12.86 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.175/1.175, allocations: 138.4 MB / 454.7 MB, free: 1.516 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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.5544 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.946e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5149/0.5149, allocations: 184.1 MB / 0.7342 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02173/0.5366, allocations: 13.42 MB / 0.7473 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.5379, allocations: 43.62 kB / 0.7473 GB, free: 7.234 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.5395, allocations: 433 kB / 0.7477 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003734/0.5433, allocations: 1.236 MB / 0.749 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.5457, allocations: 0.7791 MB / 0.7497 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003727/0.5495, allocations: 2.05 MB / 0.7517 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.5511, allocations: 0.6335 MB / 0.7523 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005694/0.5568, allocations: 2.094 MB / 0.7544 GB, free: 15.98 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.5587, allocations: 0.6386 MB / 0.755 GB, free: 15.36 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.5588, allocations: 80 kB / 0.7551 GB, free: 15.28 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.5606, allocations: 0.74 MB / 0.7558 GB, free: 14.54 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000513/0.5611, allocations: 426.8 kB / 0.7562 GB, free: 14.12 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000531/0.5616, allocations: 355.2 kB / 0.7566 GB, free: 13.77 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.5642, allocations: 1.523 MB / 0.758 GB, free: 12.24 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5642, allocations: 0 / 0.758 GB, free: 12.24 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5642, allocations: 0 / 0.758 GB, free: 12.24 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.5642, allocations: 0 / 0.758 GB, free: 12.24 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00234/0.5665, allocations: 1.348 MB / 0.7594 GB, free: 10.85 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.5666, allocations: 16.75 kB / 0.7594 GB, free: 10.84 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.568, allocations: 294.9 kB / 0.7597 GB, free: 10.55 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.5693, allocations: 0.6377 MB / 0.7603 GB, free: 9.883 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-05/0.5694, allocations: 58 kB / 0.7603 GB, free: 9.824 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.5695, allocations: 80 kB / 0.7604 GB, free: 9.746 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.5711, allocations: 1.009 MB / 0.7614 GB, free: 8.598 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.5711, allocations: 3.938 kB / 0.7614 GB, free: 8.594 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.402e-05/0.5712, allocations: 36 kB / 0.7614 GB, free: 8.559 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.5712, allocations: 25.31 kB / 0.7615 GB, free: 8.535 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008664/0.5721, allocations: 428.7 kB / 0.7619 GB, free: 8.117 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.00574/0.5778, allocations: 4.944 MB / 0.7667 GB, free: 3.016 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008568/0.5787, allocations: 383.7 kB / 0.7671 GB, free: 2.605 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.579, allocations: 175 kB / 0.7672 GB, free: 2.422 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.5792, allocations: 23.98 kB / 0.7672 GB, free: 2.398 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.5792, allocations: 46.14 kB / 0.7673 GB, free: 2.344 MB / 0.573 GB Notification: Performance of pre-optimization done (n=43): time 2.275e-06/0.5792, allocations: 0 / 0.7673 GB, free: 2.344 MB / 0.573 GB Notification: Performance of matching and sorting (n=45): time 0.002805/0.582, allocations: 1.291 MB / 0.7685 GB, free: 1.012 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.5821, allocations: 106.8 kB / 0.7687 GB, free: 0.8828 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008615/0.583, allocations: 0.6703 MB / 0.7693 GB, free: 200 kB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.583, allocations: 37.7 kB / 0.7693 GB, free: 156 kB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006861/0.5837, allocations: 0.495 MB / 0.7698 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.5839, allocations: 190.4 kB / 0.77 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.5841, allocations: 136 kB / 0.7701 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0005108/0.5847, allocations: 0.5899 MB / 0.7707 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.5849, allocations: 109.3 kB / 0.7708 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/0.5856, allocations: 0.5849 MB / 0.7714 GB, free: 13.86 MB / 0.5886 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.5878, allocations: 0.9333 MB / 0.7723 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.5878, allocations: 4 kB / 0.7723 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001016/0.5889, allocations: 0.5407 MB / 0.7728 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5889, allocations: 12.12 kB / 0.7728 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.5889, allocations: 4 kB / 0.7728 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.5889, allocations: 12 kB / 0.7729 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/0.5894, allocations: 127.8 kB / 0.773 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.5894, allocations: 19.88 kB / 0.773 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.5899, allocations: 31.08 kB / 0.773 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.59, allocations: 24 kB / 0.7731 GB, free: 12.04 MB / 0.5886 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003753/0.5904, allocations: 253 kB / 0.7733 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.5905, allocations: 87.58 kB / 0.7734 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.5907, allocations: 74.25 kB / 0.7734 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.5907, allocations: 4 kB / 0.7735 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5907, allocations: 0 / 0.7735 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007785/0.5915, allocations: 0.6011 MB / 0.774 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.5945, allocations: 1.618 MB / 0.7756 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.5945, allocations: 4 kB / 0.7756 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.5949, allocations: 99.89 kB / 0.7757 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.595, allocations: 4.625 kB / 0.7757 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.595, allocations: 12 kB / 0.7757 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/0.595, allocations: 11.94 kB / 0.7757 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.595, allocations: 7.938 kB / 0.7758 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.5962, allocations: 0.7826 MB / 0.7765 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.5965, allocations: 111.5 kB / 0.7766 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/0.5966, allocations: 16 kB / 0.7766 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.5969, allocations: 16 kB / 0.7767 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/0.597, allocations: 43.81 kB / 0.7767 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/0.5971, allocations: 20 kB / 0.7767 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006472/0.5977, allocations: 402.8 kB / 0.7771 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.5977, allocations: 0 / 0.7771 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007911/0.5985, allocations: 204 kB / 0.7773 GB, free: 7.414 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0005344/0.599, allocations: 195.5 kB / 0.7775 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007708/0.5998, allocations: 365.8 kB / 0.7778 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5998, allocations: 4.125 kB / 0.7778 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.6001, allocations: 184.2 kB / 0.778 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.6018, allocations: 344.4 kB / 0.7783 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.6044, allocations: 1.521 MB / 0.7798 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.605, allocations: 420.2 kB / 0.7802 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005053/0.6055, allocations: 152.9 kB / 0.7804 GB, free: 4.176 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.6056, allocations: 52.5 kB / 0.7804 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of SimCode: time 1.272e-06/0.6056, allocations: 0 / 0.7804 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of Templates: time 0.02449/0.6301, allocations: 12.05 MB / 0.7922 GB, free: 8.469 MB / 0.6042 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.718886710936204]