Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.001248/0.001248, allocations: 105.4 kB / 15.98 MB, free: 6.348 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.001308/0.001308, allocations: 195 kB / 16.91 MB, free: 6.18 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.247/1.247, 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.6764/0.6764, allocations: 115.3 MB / 406.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 71.83 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.295, allocations: 76.17 MB / 0.556 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1552/0.4502, allocations: 184.8 MB / 0.7365 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2496/0.6999, allocations: 12.95 MB / 0.7492 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009171/0.7008, allocations: 30.84 kB / 0.7492 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.7018, allocations: 365.5 kB / 0.7495 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.7039, allocations: 1.084 MB / 0.7506 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.7051, allocations: 0.6417 MB / 0.7512 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001769/0.7069, allocations: 2.019 MB / 0.7532 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008908/0.7078, allocations: 0.809 MB / 0.754 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.7108, allocations: 1.77 MB / 0.7557 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.7121, allocations: 0.705 MB / 0.7564 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.7123, allocations: 80.75 kB / 0.7565 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.7136, allocations: 0.91 MB / 0.7574 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003688/0.714, allocations: 383.1 kB / 0.7577 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004655/0.7145, allocations: 0.5043 MB / 0.7582 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.7161, allocations: 1.532 MB / 0.7597 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7161, allocations: 1.719 kB / 0.7597 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7161, allocations: 0 / 0.7597 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.7162, allocations: 0 / 0.7597 GB, free: 1.656 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001658/0.7178, allocations: 1.235 MB / 0.7609 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.7179, allocations: 12.14 kB / 0.7609 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.718, allocations: 123.5 kB / 0.761 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.7191, allocations: 214.7 kB / 0.7613 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008885/0.72, allocations: 0.6432 MB / 0.7619 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.7201, allocations: 59.47 kB / 0.7619 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.7202, allocations: 79.56 kB / 0.762 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.7215, allocations: 0.9279 MB / 0.7629 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.7215, allocations: 8.969 kB / 0.7629 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.7216, allocations: 38.05 kB / 0.763 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/0.7216, allocations: 32.86 kB / 0.763 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009353/0.7225, allocations: 0.6195 MB / 0.7636 GB, free: 16.3 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.003459/0.726, allocations: 4.585 MB / 0.7681 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006723/0.7267, allocations: 0.5383 MB / 0.7686 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.727, allocations: 247.8 kB / 0.7688 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.7272, allocations: 99.2 kB / 0.7689 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.7272, allocations: 45.23 kB / 0.769 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.023e-06/0.7272, allocations: 0.9062 kB / 0.769 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002349/0.7296, allocations: 1.594 MB / 0.7705 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.7296, allocations: 115.8 kB / 0.7706 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007201/0.7304, allocations: 0.7139 MB / 0.7713 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.7304, allocations: 36.3 kB / 0.7714 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.7306, allocations: 419.5 kB / 0.7718 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.7308, allocations: 162.9 kB / 0.7719 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.7309, allocations: 120.6 kB / 0.772 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.731, allocations: 329.6 kB / 0.7724 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.7313, allocations: 187.9 kB / 0.7725 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.7317, allocations: 416.5 kB / 0.7729 GB, free: 11.07 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/0.7339, allocations: 1.172 MB / 0.7741 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.7339, allocations: 1.906 kB / 0.7741 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001053/0.735, allocations: 0.6772 MB / 0.7747 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.735, allocations: 10.48 kB / 0.7748 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.735, allocations: 6.375 kB / 0.7748 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.7351, allocations: 11.22 kB / 0.7748 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.7355, allocations: 126.1 kB / 0.7749 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/0.7355, allocations: 17.89 kB / 0.7749 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.7361, allocations: 56.56 kB / 0.775 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/0.7362, allocations: 33.61 kB / 0.775 GB, free: 10.64 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0002957/0.7365, allocations: 272.1 kB / 0.7753 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.7366, allocations: 82.41 kB / 0.7753 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.7368, allocations: 91.72 kB / 0.7754 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.7368, allocations: 9.625 kB / 0.7754 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.7368, allocations: 1.938 kB / 0.7754 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006307/0.7374, allocations: 0.6957 MB / 0.7761 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.7395, allocations: 1.646 MB / 0.7777 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.7395, allocations: 4.094 kB / 0.7777 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.74, allocations: 99.55 kB / 0.7778 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.74, allocations: 6.062 kB / 0.7778 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.74, allocations: 16.28 kB / 0.7778 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.74, allocations: 9.656 kB / 0.7778 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.341e-06/0.74, allocations: 10.17 kB / 0.7779 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000991/0.741, allocations: 0.8621 MB / 0.7787 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.7413, allocations: 209.4 kB / 0.7789 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.7414, allocations: 15.53 kB / 0.7789 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/0.7419, allocations: 38.62 kB / 0.779 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.7419, allocations: 40.17 kB / 0.779 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.742, allocations: 19.12 kB / 0.779 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004901/0.7425, allocations: 0.5152 MB / 0.7795 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7425, allocations: 0.8438 kB / 0.7795 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006255/0.7431, allocations: 204.8 kB / 0.7797 GB, free: 8.875 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001338/0.7445, allocations: 1.505 MB / 0.7812 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006621/0.7451, allocations: 0.5151 MB / 0.7817 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.7451, allocations: 4.75 kB / 0.7817 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.7454, allocations: 213.3 kB / 0.7819 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.7471, allocations: 476.9 kB / 0.7823 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007315/0.7545, allocations: 7.181 MB / 0.7894 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.7549, allocations: 1.025 MB / 0.7904 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005981/0.7555, allocations: 202.1 kB / 0.7905 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.7558, allocations: 297.3 kB / 0.7908 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of SimCode: time 1.203e-06/0.7558, allocations: 4 kB / 0.7908 GB, free: 4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.51/2.266, allocations: 21.88 MB / 0.8122 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/2.266, allocations: 276.4 kB / 0.8125 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.123/5.389, allocations: 4 kB / 0.8125 GB, free: 13.34 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)