Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.0006873/0.0006873, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009249/0.001612, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006756/0.0006756, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008204/0.001496, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9963/0.9963, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08784/1.084, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001346/0.001346, allocations: 248.6 kB / 244.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.002456, allocations: 463.6 kB / 244.7 MB, free: 14.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7278/0.7278, allocations: 138.7 MB / 384.1 MB, free: 480 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06775/0.7955, allocations: 42.4 MB / 426.5 MB, free: 5.945 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 427.8 MB, free: 4.629 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.966e-05, allocations: 2.312 kB / 427.8 MB, free: 4.625 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.344/0.344, allocations: 150.5 MB / 0.5648 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.006885/0.3509, allocations: 3.91 MB / 0.5686 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.3521, allocations: 59.5 kB / 0.5686 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0007261/0.3529, allocations: 274 kB / 0.5689 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.355, allocations: 1.072 MB / 0.5699 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.3571, allocations: 0.958 MB / 0.5709 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.00302/0.3601, allocations: 2.512 MB / 0.5733 GB, free: 1.262 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.3616, allocations: 0.7891 MB / 0.5741 GB, free: 488 kB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.3641, allocations: 1.495 MB / 0.5756 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.3652, allocations: 0.7294 MB / 0.5763 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.3653, allocations: 100 kB / 0.5764 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.3666, allocations: 0.6392 MB / 0.577 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004539/0.367, allocations: 466.9 kB / 0.5774 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005528/0.3676, allocations: 375.3 kB / 0.5778 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.3692, allocations: 1.203 MB / 0.579 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.668e-05/0.3693, allocations: 4 kB / 0.579 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.674e-06/0.3693, allocations: 4 kB / 0.579 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.216e-05/0.3693, allocations: 0 / 0.579 GB, free: 11.53 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001859/0.3712, allocations: 1.582 MB / 0.5805 GB, free: 9.918 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3712, allocations: 12.75 kB / 0.5805 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.3723, allocations: 457.1 kB / 0.581 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008748/0.3732, allocations: 0.6244 MB / 0.5816 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.3732, allocations: 66.38 kB / 0.5817 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.562e-05/0.3733, allocations: 103.9 kB / 0.5818 GB, free: 8.625 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009775/0.3743, allocations: 1.081 MB / 0.5828 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.3743, allocations: 3.984 kB / 0.5828 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.3744, allocations: 36 kB / 0.5828 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/0.3744, allocations: 34 kB / 0.5829 GB, free: 7.328 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.3748, allocations: 289.4 kB / 0.5832 GB, free: 7.043 MB / 0.5573 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.002848/0.3776, allocations: 2.536 MB / 0.5856 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.3779, allocations: 226.8 kB / 0.5858 GB, free: 4.211 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.3782, allocations: 79.64 kB / 0.5859 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.3783, allocations: 27.98 kB / 0.5859 GB, free: 4.102 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3783, allocations: 42.56 kB / 0.586 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=36): time 3.015e-06/0.3783, allocations: 0 / 0.586 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of matching and sorting (n=38): time 0.001275/0.3796, allocations: 0.6169 MB / 0.5866 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.3796, allocations: 67.14 kB / 0.5867 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/0.3801, allocations: 0.5856 MB / 0.5872 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.3801, allocations: 37.7 kB / 0.5873 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.3803, allocations: 436.8 kB / 0.5877 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.03e-05/0.3804, allocations: 154.7 kB / 0.5878 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.3805, allocations: 114.2 kB / 0.5879 GB, free: 1.992 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3806, allocations: 390.5 kB / 0.5883 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.3807, allocations: 60.11 kB / 0.5884 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.3809, allocations: 279.3 kB / 0.5886 GB, free: 1.184 MB / 0.5573 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.3815, allocations: 487.6 kB / 0.5891 GB, free: 0.6328 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3815, allocations: 0 / 0.5891 GB, free: 0.6328 MB / 0.5573 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004201/0.3819, allocations: 351.9 kB / 0.5894 GB, free: 288 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3819, allocations: 12.03 kB / 0.5894 GB, free: 276 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3819, allocations: 4 kB / 0.5894 GB, free: 272 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3819, allocations: 11.94 kB / 0.5895 GB, free: 260 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.3823, allocations: 159.8 kB / 0.5896 GB, free: 100 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3823, allocations: 16.73 kB / 0.5896 GB, free: 84 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.3827, allocations: 39.98 kB / 0.5897 GB, free: 44 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.3827, allocations: 23.98 kB / 0.5897 GB, free: 20 kB / 0.5573 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (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.0002049/0.3829, allocations: 152.5 kB / 0.5898 GB, free: 15.86 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/0.383, allocations: 63.92 kB / 0.5899 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.458e-05/0.3831, allocations: 74.94 kB / 0.59 GB, free: 15.72 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3831, allocations: 4 kB / 0.59 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3831, allocations: 10 kB / 0.59 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002508/0.3833, allocations: 455.5 kB / 0.5904 GB, free: 15.18 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.3844, allocations: 0.939 MB / 0.5913 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.3844, allocations: 4.5 kB / 0.5913 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.3847, allocations: 114.7 kB / 0.5914 GB, free: 14.03 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.3848, allocations: 111.4 kB / 0.5916 GB, free: 13.92 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.3849, allocations: 8 kB / 0.5916 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.3849, allocations: 12 kB / 0.5916 GB, free: 13.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.3849, allocations: 11.92 kB / 0.5916 GB, free: 13.89 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3849, allocations: 4 kB / 0.5916 GB, free: 13.88 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.3853, allocations: 0.5278 MB / 0.5921 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.3854, allocations: 16 kB / 0.5921 GB, free: 13.26 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.3857, allocations: 31.45 kB / 0.5921 GB, free: 13.23 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.3857, allocations: 35.83 kB / 0.5922 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.3858, allocations: 24.92 kB / 0.5922 GB, free: 13.17 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002209/0.386, allocations: 264.6 kB / 0.5925 GB, free: 12.92 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.386, allocations: 0 / 0.5925 GB, free: 12.92 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007899/0.3868, allocations: 255.9 kB / 0.5927 GB, free: 12.67 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.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 (38): * Single equations (assignments): 38 * 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.0002927/0.3871, allocations: 154.2 kB / 0.5928 GB, free: 12.51 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003653/0.3874, allocations: 246.7 kB / 0.5931 GB, free: 12.27 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.559e-05/0.3875, allocations: 12.5 kB / 0.5931 GB, free: 12.26 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 9.018e-05/0.3875, allocations: 96.56 kB / 0.5932 GB, free: 12.16 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.3886, allocations: 0.5452 MB / 0.5937 GB, free: 11.66 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/0.3943, allocations: 1.606 MB / 0.5953 GB, free: 9.965 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.3944, allocations: 242.6 kB / 0.5955 GB, free: 9.707 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000604/0.395, allocations: 136.7 kB / 0.5956 GB, free: 9.582 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007319/0.3958, allocations: 365 kB / 0.596 GB, free: 9.219 MB / 0.573 GB Notification: Performance of SimCode: time 2.154e-06/0.3958, allocations: 0 / 0.596 GB, free: 9.219 MB / 0.573 GB Notification: Performance of Templates: time 0.02194/0.4177, allocations: 17.79 MB / 0.6134 GB, free: 7.996 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9860992738977075]