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: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 102 kB / 16.27 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.001089/0.001089, allocations: 190.6 kB / 17.2 MB, free: 5.605 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.262/1.262, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.709/0.709, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.91 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2608, allocations: 77.92 MB / 0.5673 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.3946/0.6554, allocations: 190.4 MB / 0.7533 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007138/0.6626, allocations: 5.709 MB / 0.7588 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.6637, allocations: 42.98 kB / 0.7589 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.665, allocations: 0.5677 MB / 0.7594 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003636/0.6687, allocations: 1.829 MB / 0.7612 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.6712, allocations: 1.165 MB / 0.7623 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003351/0.6746, allocations: 2.955 MB / 0.7652 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.6761, allocations: 1.129 MB / 0.7663 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.6779, allocations: 1.048 MB / 0.7674 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.6797, allocations: 0.9646 MB / 0.7683 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.6799, allocations: 124.7 kB / 0.7684 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.682, allocations: 1.44 MB / 0.7698 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004795/0.6825, allocations: 0.5698 MB / 0.7704 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007504/0.6833, allocations: 0.7255 MB / 0.7711 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.6855, allocations: 2.314 MB / 0.7734 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6855, allocations: 0 / 0.7734 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6855, allocations: 2.188 kB / 0.7734 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.6855, allocations: 1.203 kB / 0.7734 GB, free: 1.379 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.002093/0.6876, allocations: 1.625 MB / 0.7749 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.6876, allocations: 7.5 kB / 0.7749 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.6878, allocations: 161.4 kB / 0.7751 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.6895, allocations: 333.3 kB / 0.7754 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009944/0.6905, allocations: 0.8657 MB / 0.7763 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.6906, allocations: 78.98 kB / 0.7763 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.6907, allocations: 105.1 kB / 0.7764 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.6921, allocations: 1.083 MB / 0.7775 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.6921, allocations: 0 / 0.7775 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-05/0.6922, allocations: 43.62 kB / 0.7775 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/0.6922, allocations: 42.5 kB / 0.7776 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.6935, allocations: 0.9903 MB / 0.7785 GB, free: 16.06 MB / 0.5919 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.004442/0.698, allocations: 4.26 MB / 0.7827 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/0.6986, allocations: 0.6035 MB / 0.7833 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.699, allocations: 347.6 kB / 0.7836 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/0.6992, allocations: 107.2 kB / 0.7837 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.6992, allocations: 42.39 kB / 0.7838 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 1.643e-06/0.6992, allocations: 0 / 0.7838 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.003069/0.7023, allocations: 2.198 MB / 0.7859 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.7023, allocations: 58.41 kB / 0.786 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007661/0.7031, allocations: 0.8846 MB / 0.7868 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.777e-05/0.7032, allocations: 37.77 kB / 0.7869 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.7034, allocations: 0.5177 MB / 0.7874 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.7036, allocations: 193.9 kB / 0.7876 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.7038, allocations: 133.5 kB / 0.7877 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.7039, allocations: 334.7 kB / 0.788 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.7042, allocations: 285 kB / 0.7883 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/0.7047, allocations: 438.2 kB / 0.7887 GB, free: 12.31 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.003249/0.708, allocations: 1.746 MB / 0.7904 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.708, allocations: 4.25 kB / 0.7904 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001171/0.7092, allocations: 0.9231 MB / 0.7913 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.7092, allocations: 8.141 kB / 0.7913 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.7092, allocations: 5.281 kB / 0.7913 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.7093, allocations: 97.28 kB / 0.7914 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/0.71, allocations: 167.3 kB / 0.7916 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.7128, allocations: 4.634 MB / 0.7961 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007296/0.7135, allocations: 33.75 kB / 0.7961 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.7136, allocations: 28.03 kB / 0.7962 GB, free: 7.883 MB / 0.5919 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.0003352/0.7139, allocations: 346.1 kB / 0.7965 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.7141, allocations: 99.22 kB / 0.7966 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.7142, allocations: 108.7 kB / 0.7967 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.7142, allocations: 9.969 kB / 0.7967 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.7142, allocations: 5.75 kB / 0.7967 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008504/0.7151, allocations: 0.7716 MB / 0.7975 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.7175, allocations: 1.978 MB / 0.7994 GB, free: 7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7175, allocations: 4.656 kB / 0.7994 GB, free: 7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/0.7181, allocations: 149.4 kB / 0.7995 GB, free: 7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.872e-05/0.7182, allocations: 39.25 kB / 0.7996 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.7182, allocations: 16.78 kB / 0.7996 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009579/0.7192, allocations: 1.613 MB / 0.8012 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7192, allocations: 5.25 kB / 0.8012 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.7205, allocations: 1.211 MB / 0.8024 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/0.7209, allocations: 253.5 kB / 0.8026 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.721, allocations: 18.78 kB / 0.8026 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006605/0.7217, allocations: 28.25 kB / 0.8026 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/0.7218, allocations: 51.47 kB / 0.8027 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.7218, allocations: 33.22 kB / 0.8027 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005588/0.7224, allocations: 0.6101 MB / 0.8033 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7224, allocations: 0 / 0.8033 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007049/0.7231, allocations: 309 kB / 0.8036 GB, free: 5.082 MB / 0.5919 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.001885/0.725, allocations: 1.854 MB / 0.8054 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.7263, allocations: 1.108 MB / 0.8065 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.7263, allocations: 4.375 kB / 0.8065 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005077/0.7269, allocations: 453 kB / 0.8069 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/0.7293, allocations: 0.6521 MB / 0.8076 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008654/0.738, allocations: 8.3 MB / 0.8157 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.7386, allocations: 1.173 MB / 0.8168 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008018/0.7394, allocations: 248.9 kB / 0.8171 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/0.7398, allocations: 378.8 kB / 0.8174 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.7398, allocations: 0 / 0.8174 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.219/2.959, allocations: 30.23 MB / 0.8469 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/18.38, allocations: 26.14 kB / 0.847 GB, free: 4.766 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)