Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 116.2 kB / 16.42 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 286 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9373/0.9373, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 103.8 kB / 0.6821 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3772, allocations: 86.99 MB / 0.7671 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1832/0.5605, allocations: 190.4 MB / 0.9531 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3606/0.9211, allocations: 5.704 MB / 0.9586 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.9224, allocations: 40.97 kB / 0.9587 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.9238, allocations: 0.5695 MB / 0.9592 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.9282, allocations: 1.831 MB / 0.961 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003165/0.9314, allocations: 1.184 MB / 0.9622 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003655/0.935, allocations: 2.95 MB / 0.9651 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.9364, allocations: 1.125 MB / 0.9662 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.9379, allocations: 1.074 MB / 0.9672 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.9395, allocations: 0.9609 MB / 0.9681 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.9398, allocations: 123.6 kB / 0.9683 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.9424, allocations: 1.442 MB / 0.9697 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004641/0.9429, allocations: 0.573 MB / 0.9702 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006907/0.9436, allocations: 0.7205 MB / 0.9709 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00268/0.9462, allocations: 2.341 MB / 0.9732 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.9463, allocations: 0 / 0.9732 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9463, allocations: 0.75 kB / 0.9732 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.9463, allocations: 0 / 0.9732 GB, free: 1.578 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002194/0.9485, allocations: 1.627 MB / 0.9748 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.9485, allocations: 8.469 kB / 0.9748 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/0.9505, allocations: 328.6 kB / 0.9751 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.9517, allocations: 0.915 MB / 0.976 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.9517, allocations: 75.53 kB / 0.9761 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.9518, allocations: 94.91 kB / 0.9762 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.9534, allocations: 1.081 MB / 0.9772 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.9535, allocations: 0 / 0.9772 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-05/0.9536, allocations: 43.09 kB / 0.9773 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.9536, allocations: 43.67 kB / 0.9773 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.955, allocations: 0.9936 MB / 0.9783 GB, free: 16.3 MB / 0.7325 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.004953/0.96, allocations: 4.22 MB / 0.9824 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007446/0.9607, allocations: 0.6028 MB / 0.983 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/0.9612, allocations: 344.9 kB / 0.9833 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.9614, allocations: 106.8 kB / 0.9834 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.9614, allocations: 43.53 kB / 0.9835 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 2.034e-06/0.9614, allocations: 0 / 0.9835 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.003415/0.9648, allocations: 2.198 MB / 0.9856 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.9649, allocations: 63.2 kB / 0.9857 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/0.9657, allocations: 0.8792 MB / 0.9865 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/0.9658, allocations: 41.27 kB / 0.9866 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.9661, allocations: 0.518 MB / 0.9871 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.9662, allocations: 194.9 kB / 0.9873 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.9664, allocations: 127.4 kB / 0.9874 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.9665, allocations: 332.4 kB / 0.9877 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/0.9669, allocations: 288.5 kB / 0.988 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.9674, allocations: 434.8 kB / 0.9884 GB, free: 12.57 MB / 0.7325 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.00352/0.971, allocations: 1.741 MB / 0.9901 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.971, allocations: 3.406 kB / 0.9901 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001267/0.9723, allocations: 0.92 MB / 0.991 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.9723, allocations: 7.812 kB / 0.991 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.9723, allocations: 7.172 kB / 0.991 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.9725, allocations: 102.9 kB / 0.9911 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.9732, allocations: 168.6 kB / 0.9913 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/0.9765, allocations: 4.624 MB / 0.9958 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/0.9774, allocations: 35.47 kB / 0.9958 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.9775, allocations: 28.67 kB / 0.9959 GB, free: 8.148 MB / 0.7325 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000461/0.9779, allocations: 348 kB / 0.9962 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.9781, allocations: 98.28 kB / 0.9963 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.9783, allocations: 114.5 kB / 0.9964 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009309/0.9792, allocations: 0.7684 MB / 0.9971 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.9792, allocations: 1.094 kB / 0.9971 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/0.9796, allocations: 246.7 kB / 0.9974 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.9797, allocations: 25.03 kB / 0.9974 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006933/0.9804, allocations: 24.55 kB / 0.9974 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.9805, allocations: 32.94 kB / 0.9975 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0015/0.982, allocations: 0.8162 MB / 0.9982 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001413/0.9835, allocations: 1.209 MB / 0.9994 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003735/0.9838, allocations: 305 kB / 0.9997 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006293/0.9845, allocations: 0.614 MB / 1 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of Backend: time 3.8e-07/0.9845, allocations: 1.203 kB / 1 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00213/0.9866, allocations: 1.148 MB / 1.001 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of SimCode: time 0.004091/0.9907, allocations: 2.816 MB / 1.004 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.03429/1.025, allocations: 25.1 MB / 1.029 GB, free: 13.14 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)