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.001089/0.001088, allocations: 92.8 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 174.5 kB / 16.91 MB, free: 6.688 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.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6974/0.6974, allocations: 115.4 MB / 407.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 8 kB / 495.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1551, allocations: 77.5 MB / 0.5598 GB, free: 9.199 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5126/0.6677, allocations: 185.7 MB / 0.7412 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009948/0.6777, allocations: 5.722 MB / 0.7468 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.6791, allocations: 31.81 kB / 0.7468 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.6807, allocations: 497.4 kB / 0.7473 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005219/0.686, allocations: 1.731 MB / 0.749 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.689, allocations: 1.08 MB / 0.75 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004872/0.6939, allocations: 4.082 MB / 0.754 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.6961, allocations: 0.9317 MB / 0.7549 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.6982, allocations: 0.8672 MB / 0.7558 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.7007, allocations: 0.9467 MB / 0.7567 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002916/0.701, allocations: 48 kB / 0.7567 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003432/0.7045, allocations: 1.633 MB / 0.7583 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007475/0.7052, allocations: 0.4908 MB / 0.7588 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.7066, allocations: 0.647 MB / 0.7594 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003596/0.7102, allocations: 2.321 MB / 0.7617 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.7102, allocations: 0 / 0.7617 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7102, allocations: 0 / 0.7617 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.691e-05/0.7103, allocations: 0 / 0.7617 GB, free: 8.199 MB / 0.5762 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.002796/0.7131, allocations: 1.373 MB / 0.763 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.7131, allocations: 8.031 kB / 0.763 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.7155, allocations: 330.2 kB / 0.7634 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.7172, allocations: 0.8706 MB / 0.7642 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.07e-05/0.7173, allocations: 77.98 kB / 0.7643 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.7174, allocations: 95.98 kB / 0.7644 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.7194, allocations: 1.1 MB / 0.7655 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.7195, allocations: 4 kB / 0.7655 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.7196, allocations: 40 kB / 0.7655 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-05/0.7197, allocations: 38 kB / 0.7655 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.7214, allocations: 1.007 MB / 0.7665 GB, free: 3.164 MB / 0.5762 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.005822/0.7272, allocations: 4.255 MB / 0.7707 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008909/0.7281, allocations: 0.6027 MB / 0.7713 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/0.7286, allocations: 342.5 kB / 0.7716 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.7289, allocations: 101.5 kB / 0.7717 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.7289, allocations: 47 kB / 0.7717 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 3.086e-06/0.7289, allocations: 0 / 0.7717 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.004235/0.7332, allocations: 2.228 MB / 0.7739 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.7332, allocations: 63.91 kB / 0.774 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.7343, allocations: 0.8842 MB / 0.7748 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.7343, allocations: 37.7 kB / 0.7749 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003688/0.7347, allocations: 0.5224 MB / 0.7754 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.7349, allocations: 193.2 kB / 0.7756 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.903e-05/0.735, allocations: 57.69 kB / 0.7756 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.7351, allocations: 334 kB / 0.7759 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/0.7356, allocations: 289.8 kB / 0.7762 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.7362, allocations: 433 kB / 0.7766 GB, free: 8.27 MB / 0.5919 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.004032/0.7403, allocations: 1.791 MB / 0.7784 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.7403, allocations: 4 kB / 0.7784 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001535/0.7418, allocations: 0.9299 MB / 0.7793 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.7418, allocations: 8 kB / 0.7793 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.7419, allocations: 4 kB / 0.7793 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.7421, allocations: 102.6 kB / 0.7794 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007453/0.7428, allocations: 175.8 kB / 0.7796 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003724/0.7466, allocations: 4.285 MB / 0.7837 GB, free: 500 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.7476, allocations: 72.05 kB / 0.7838 GB, free: 428 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.455e-05/0.7477, allocations: 27.94 kB / 0.7838 GB, free: 400 kB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0006088/0.7483, allocations: 341.5 kB / 0.7842 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.7485, allocations: 102.8 kB / 0.7843 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.7487, allocations: 113.1 kB / 0.7844 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.7487, allocations: 4 kB / 0.7844 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7487, allocations: 11.92 kB / 0.7844 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/0.7499, allocations: 0.7731 MB / 0.7851 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/0.753, allocations: 1.996 MB / 0.7871 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.753, allocations: 8.062 kB / 0.7871 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006832/0.7537, allocations: 151.8 kB / 0.7872 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.7538, allocations: 44.83 kB / 0.7873 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/0.7539, allocations: 19.94 kB / 0.7873 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.755, allocations: 1.491 MB / 0.7888 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.755, allocations: 7.938 kB / 0.7888 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.7568, allocations: 1.23 MB / 0.79 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004489/0.7573, allocations: 255.9 kB / 0.7902 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.7574, allocations: 19.98 kB / 0.7902 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008136/0.7582, allocations: 68.73 kB / 0.7903 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.7584, allocations: 47.88 kB / 0.7903 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.121e-05/0.7585, allocations: 31.98 kB / 0.7904 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007995/0.7593, allocations: 0.6161 MB / 0.791 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7593, allocations: 0 / 0.791 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001099/0.7604, allocations: 300 kB / 0.7913 GB, free: 8.406 MB / 0.6075 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.0004943/0.7609, allocations: 188.6 kB / 0.7914 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.7625, allocations: 1.007 MB / 0.7924 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.7625, allocations: 5 kB / 0.7924 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006692/0.7632, allocations: 458.8 kB / 0.7929 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/0.7665, allocations: 0.6199 MB / 0.7935 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.7702, allocations: 2.615 MB / 0.796 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009067/0.7711, allocations: 1.17 MB / 0.7972 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001032/0.7722, allocations: 252.3 kB / 0.7974 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.7724, allocations: 79.44 kB / 0.7975 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of SimCode: time 8.61e-07/0.7724, allocations: 0 / 0.7975 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of Templates: time 0.03675/0.8091, allocations: 21.17 MB / 0.8182 GB, free: 13.03 MB / 0.6387 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)