Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00118/0.00118, allocations: 118.3 kB / 17.08 MB, free: 5.992 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.001356/0.001356, allocations: 198.9 kB / 18.02 MB, free: 5.066 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.422/1.422, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7576/0.7576, allocations: 115.3 MB / 407.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.02 kB / 0.5584 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1769, allocations: 76.18 MB / 0.6328 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7253/0.9023, allocations: 190.4 MB / 0.8187 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.9138, allocations: 5.71 MB / 0.8243 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002507/0.9164, allocations: 47.28 kB / 0.8244 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.9187, allocations: 0.5711 MB / 0.8249 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007017/0.9258, allocations: 1.828 MB / 0.8267 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004108/0.93, allocations: 1.176 MB / 0.8279 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005229/0.9352, allocations: 2.956 MB / 0.8307 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.9374, allocations: 1.124 MB / 0.8318 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002949/0.9404, allocations: 1.071 MB / 0.8329 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.9434, allocations: 0.9612 MB / 0.8338 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005237/0.9439, allocations: 125.3 kB / 0.8339 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004282/0.9482, allocations: 1.444 MB / 0.8354 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.9494, allocations: 0.5749 MB / 0.8359 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001979/0.9514, allocations: 0.7224 MB / 0.8366 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005644/0.957, allocations: 2.33 MB / 0.8389 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.9571, allocations: 4 kB / 0.8389 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9571, allocations: 0 / 0.8389 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.905e-05/0.9572, allocations: 0 / 0.8389 GB, free: 15.82 MB / 0.6075 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.004602/0.9618, allocations: 1.62 MB / 0.8405 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.9618, allocations: 9.625 kB / 0.8405 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.9643, allocations: 326.8 kB / 0.8408 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.9665, allocations: 0.9196 MB / 0.8417 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/0.9666, allocations: 77.08 kB / 0.8418 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.9668, allocations: 94.72 kB / 0.8419 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.9691, allocations: 1.086 MB / 0.8429 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.9692, allocations: 0 / 0.8429 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.9693, allocations: 41.5 kB / 0.843 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/0.9694, allocations: 41.12 kB / 0.843 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.9713, allocations: 0.9934 MB / 0.844 GB, free: 12.61 MB / 0.6075 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.007449/0.9788, allocations: 4.222 MB / 0.8481 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.9798, allocations: 0.6119 MB / 0.8487 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005422/0.9804, allocations: 344.2 kB / 0.849 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.9806, allocations: 105.5 kB / 0.8491 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.9807, allocations: 43 kB / 0.8492 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 2.485e-06/0.9807, allocations: 4 kB / 0.8492 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.004692/0.9854, allocations: 2.19 MB / 0.8513 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.9855, allocations: 59.91 kB / 0.8514 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.9868, allocations: 0.8882 MB / 0.8522 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.102e-05/0.9869, allocations: 37.7 kB / 0.8523 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/0.9873, allocations: 0.5213 MB / 0.8528 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.9875, allocations: 202.2 kB / 0.853 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.9878, allocations: 126.6 kB / 0.8531 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.9879, allocations: 334 kB / 0.8534 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/0.9884, allocations: 285.8 kB / 0.8537 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/0.9891, allocations: 433 kB / 0.8541 GB, free: 2.781 MB / 0.6075 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.003986/0.9931, allocations: 1.745 MB / 0.8558 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.9931, allocations: 4 kB / 0.8558 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001686/0.9948, allocations: 0.9223 MB / 0.8567 GB, free: 24 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.9948, allocations: 8 kB / 0.8567 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.9948, allocations: 4.875 kB / 0.8567 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.9951, allocations: 99.09 kB / 0.8568 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/0.9958, allocations: 167.8 kB / 0.857 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003934/0.9998, allocations: 4.628 MB / 0.8615 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/1.001, allocations: 27.98 kB / 0.8615 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/1.001, allocations: 32.16 kB / 0.8615 GB, free: 10.64 MB / 0.6231 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.0007606/1.002, allocations: 345.5 kB / 0.8619 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/1.002, allocations: 102.8 kB / 0.862 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/1.002, allocations: 113.2 kB / 0.8621 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/1.002, allocations: 8 kB / 0.8621 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.002, allocations: 0 / 0.8621 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001152/1.003, allocations: 0.7691 MB / 0.8628 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/1.008, allocations: 1.983 MB / 0.8648 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/1.008, allocations: 8.391 kB / 0.8648 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/1.008, allocations: 151.8 kB / 0.8649 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/1.008, allocations: 36.84 kB / 0.865 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/1.008, allocations: 23.98 kB / 0.865 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/1.01, allocations: 1.602 MB / 0.8666 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/1.01, allocations: 7.938 kB / 0.8666 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/1.012, allocations: 1.204 MB / 0.8677 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006006/1.012, allocations: 251.9 kB / 0.868 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/1.013, allocations: 19.92 kB / 0.868 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008629/1.013, allocations: 38.16 kB / 0.868 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/1.014, allocations: 43.89 kB / 0.8681 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.742e-05/1.014, allocations: 35.91 kB / 0.8681 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009406/1.015, allocations: 0.6122 MB / 0.8687 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/1.015, allocations: 0 / 0.8687 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001256/1.016, allocations: 308 kB / 0.869 GB, free: 2.641 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005504/1.016, allocations: 192.2 kB / 0.8692 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001701/1.018, allocations: 1.015 MB / 0.8702 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.018, allocations: 4 kB / 0.8702 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006659/1.019, allocations: 451.9 kB / 0.8706 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/1.022, allocations: 0.6426 MB / 0.8712 GB, free: 324 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/1.026, allocations: 2.178 MB / 0.8734 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009929/1.027, allocations: 1.17 MB / 0.8745 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/1.027, allocations: 79.44 kB / 0.8746 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.022e-06/1.027, allocations: 0 / 0.8746 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.04423/1.071, allocations: 27.03 MB / 0.901 GB, free: 1.883 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)