Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001328/0.001328, allocations: 102.9 kB / 15.98 MB, free: 6.344 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.001397/0.001397, allocations: 195.8 kB / 16.91 MB, free: 6.188 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.253/1.253, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6606/0.6606, allocations: 115.3 MB / 406.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.89 kB / 493.2 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3186, allocations: 76.18 MB / 0.556 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1758/0.4944, allocations: 187.9 MB / 0.7395 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007993/0.5025, allocations: 5.654 MB / 0.745 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.5036, allocations: 35.81 kB / 0.745 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.5051, allocations: 0.5053 MB / 0.7455 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003611/0.5087, allocations: 1.506 MB / 0.747 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.277/0.7857, allocations: 1.096 MB / 0.7481 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0031/0.7888, allocations: 2.502 MB / 0.7505 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.79, allocations: 0.9673 MB / 0.7514 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.7915, allocations: 1.023 MB / 0.7524 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.7932, allocations: 0.8773 MB / 0.7533 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.7933, allocations: 105.2 kB / 0.7534 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.7959, allocations: 1.592 MB / 0.755 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005395/0.7965, allocations: 499.5 kB / 0.7554 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007071/0.7972, allocations: 0.6261 MB / 0.756 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002967/0.8001, allocations: 2.186 MB / 0.7582 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8002, allocations: 0.9375 kB / 0.7582 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8002, allocations: 1.156 kB / 0.7582 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.8002, allocations: 0.7812 kB / 0.7582 GB, free: 3.129 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002438/0.8026, allocations: 1.473 MB / 0.7596 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.8027, allocations: 9.766 kB / 0.7596 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001776/0.8029, allocations: 143 kB / 0.7598 GB, free: 18.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.8048, allocations: 329.6 kB / 0.7601 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.8059, allocations: 0.7703 MB / 0.7608 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003511/0.8063, allocations: 122.4 kB / 0.761 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.8064, allocations: 92.75 kB / 0.761 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.8083, allocations: 1.065 MB / 0.7621 GB, free: 17.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.8083, allocations: 0.625 kB / 0.7621 GB, free: 17.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.915e-05/0.8084, allocations: 36.69 kB / 0.7621 GB, free: 17.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/0.8085, allocations: 38.62 kB / 0.7622 GB, free: 17.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.81, allocations: 0.8417 MB / 0.763 GB, free: 17.8 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.004729/0.8147, allocations: 4.047 MB / 0.7669 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/0.8153, allocations: 367.8 kB / 0.7673 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.8156, allocations: 219.1 kB / 0.7675 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.8158, allocations: 100.1 kB / 0.7676 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.8158, allocations: 46.28 kB / 0.7676 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.064e-06/0.8158, allocations: 0.875 kB / 0.7676 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.002294/0.8181, allocations: 1.341 MB / 0.7689 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.8182, allocations: 55.81 kB / 0.769 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.8195, allocations: 0.9894 MB / 0.77 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.8195, allocations: 36.67 kB / 0.77 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.8198, allocations: 498.2 kB / 0.7705 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.8199, allocations: 136.6 kB / 0.7706 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.8201, allocations: 124.2 kB / 0.7707 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.8202, allocations: 327.8 kB / 0.771 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/0.8207, allocations: 233 kB / 0.7712 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/0.8212, allocations: 403.7 kB / 0.7716 GB, free: 14.17 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.002305/0.8235, allocations: 1.193 MB / 0.7728 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.8236, allocations: 2.906 kB / 0.7728 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00133/0.8249, allocations: 0.7604 MB / 0.7735 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.8249, allocations: 8.5 kB / 0.7736 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.8249, allocations: 7.25 kB / 0.7736 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.825, allocations: 13.69 kB / 0.7736 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/0.8255, allocations: 138.4 kB / 0.7737 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.8256, allocations: 11.44 kB / 0.7737 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009825/0.8265, allocations: 90.75 kB / 0.7738 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.8266, allocations: 24.31 kB / 0.7738 GB, free: 13.78 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: 22 * 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 (71): * Single equations (assignments): 71 * 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.0004595/0.8271, allocations: 310.4 kB / 0.7741 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.8273, allocations: 104.2 kB / 0.7742 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.8274, allocations: 101 kB / 0.7743 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.8274, allocations: 4.297 kB / 0.7743 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.8274, allocations: 1.812 kB / 0.7743 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006289/0.8281, allocations: 0.6759 MB / 0.775 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.8301, allocations: 1.59 MB / 0.7765 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.8301, allocations: 3.406 kB / 0.7765 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.8305, allocations: 87.42 kB / 0.7766 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.872e-06/0.8305, allocations: 4.688 kB / 0.7766 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.8305, allocations: 22.47 kB / 0.7766 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.8306, allocations: 4.375 kB / 0.7767 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.8306, allocations: 11.86 kB / 0.7767 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008712/0.8314, allocations: 0.8208 MB / 0.7775 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.8318, allocations: 237.1 kB / 0.7777 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.8319, allocations: 14.14 kB / 0.7777 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006915/0.8326, allocations: 52.8 kB / 0.7778 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.8327, allocations: 41.05 kB / 0.7778 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/0.8327, allocations: 28.53 kB / 0.7778 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008181/0.8336, allocations: 0.7081 MB / 0.7785 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8336, allocations: 4.156 kB / 0.7785 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000746/0.8343, allocations: 255.8 kB / 0.7788 GB, free: 12.12 MB / 0.5919 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.001406/0.8357, allocations: 1.459 MB / 0.7802 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008197/0.8366, allocations: 0.5276 MB / 0.7807 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.8366, allocations: 3.469 kB / 0.7807 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.8368, allocations: 191.4 kB / 0.7809 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.8392, allocations: 0.6299 MB / 0.7815 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009777/0.849, allocations: 8.212 MB / 0.7895 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.8495, allocations: 1.097 MB / 0.7906 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008525/0.8504, allocations: 241.8 kB / 0.7908 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/0.8508, allocations: 346.6 kB / 0.7912 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.8508, allocations: 4 kB / 0.7912 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04538/0.8962, allocations: 27.27 MB / 0.8178 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.8964, allocations: 260.5 kB / 0.818 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/3.18, allocations: 0 / 0.818 GB, free: 9.504 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)