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.00114/0.00114, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001118/0.001118, allocations: 188.5 kB / 17.2 MB, free: 5.574 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.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7461/0.7461, allocations: 122.8 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2966, allocations: 77.92 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4345/0.7312, allocations: 187.3 MB / 0.7501 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.7444, allocations: 13.07 MB / 0.7629 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009323/0.7454, allocations: 34.34 kB / 0.7629 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.7465, allocations: 429 kB / 0.7633 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.7488, allocations: 1.151 MB / 0.7645 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.7505, allocations: 0.701 MB / 0.7652 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002269/0.7528, allocations: 2.018 MB / 0.7671 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.7538, allocations: 0.8479 MB / 0.7679 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.7573, allocations: 1.809 MB / 0.7697 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.7585, allocations: 0.6629 MB / 0.7704 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.7586, allocations: 80.34 kB / 0.7704 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.7603, allocations: 0.8705 MB / 0.7713 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003491/0.7606, allocations: 382.3 kB / 0.7717 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005286/0.7612, allocations: 0.5018 MB / 0.7721 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.7628, allocations: 1.474 MB / 0.7736 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7628, allocations: 0 / 0.7736 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7628, allocations: 2.125 kB / 0.7736 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.7628, allocations: 0 / 0.7736 GB, free: 1.457 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.001637/0.7644, allocations: 1.225 MB / 0.7748 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.7645, allocations: 14.27 kB / 0.7748 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.7646, allocations: 125.8 kB / 0.7749 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.7658, allocations: 212.2 kB / 0.7751 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008551/0.7666, allocations: 0.6445 MB / 0.7757 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/0.7667, allocations: 63.5 kB / 0.7758 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.7668, allocations: 79.09 kB / 0.7759 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.768, allocations: 0.9337 MB / 0.7768 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.768, allocations: 6.156 kB / 0.7768 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.624e-05/0.7681, allocations: 32.88 kB / 0.7768 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.783e-05/0.7681, allocations: 27.56 kB / 0.7769 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008748/0.769, allocations: 0.6208 MB / 0.7775 GB, free: 16.11 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.003386/0.7724, allocations: 4.596 MB / 0.782 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006488/0.7731, allocations: 0.5449 MB / 0.7825 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.7734, allocations: 247.9 kB / 0.7827 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.7735, allocations: 105.7 kB / 0.7828 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.7736, allocations: 46.12 kB / 0.7829 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.7736, allocations: 0.75 kB / 0.7829 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.00226/0.7758, allocations: 1.588 MB / 0.7844 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.7759, allocations: 108.5 kB / 0.7845 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006455/0.7765, allocations: 0.7127 MB / 0.7852 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.7766, allocations: 38.52 kB / 0.7853 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.7768, allocations: 423.8 kB / 0.7857 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.777, allocations: 159.3 kB / 0.7858 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.7771, allocations: 123.1 kB / 0.7859 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.082e-05/0.7772, allocations: 329.2 kB / 0.7862 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.7775, allocations: 184.4 kB / 0.7864 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.7778, allocations: 421.2 kB / 0.7868 GB, free: 10.85 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.001923/0.7798, allocations: 1.18 MB / 0.788 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7798, allocations: 6.188 kB / 0.788 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008148/0.7806, allocations: 0.6637 MB / 0.7886 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.7806, allocations: 8.531 kB / 0.7886 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.7806, allocations: 7.969 kB / 0.7886 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7807, allocations: 10.08 kB / 0.7887 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.7811, allocations: 125.7 kB / 0.7888 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.7811, allocations: 14.47 kB / 0.7888 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.7816, allocations: 28.17 kB / 0.7888 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.7817, allocations: 34.81 kB / 0.7888 GB, free: 10.43 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.0002784/0.782, allocations: 272.7 kB / 0.7891 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.7821, allocations: 82.5 kB / 0.7892 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.7823, allocations: 96.41 kB / 0.7893 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.7823, allocations: 5.344 kB / 0.7893 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.7823, allocations: 1.062 kB / 0.7893 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005824/0.7829, allocations: 0.6992 MB / 0.79 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.7848, allocations: 1.643 MB / 0.7916 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.7848, allocations: 6.5 kB / 0.7916 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/0.7852, allocations: 99.02 kB / 0.7917 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.7853, allocations: 7.125 kB / 0.7917 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.7853, allocations: 20.47 kB / 0.7917 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.7853, allocations: 5.281 kB / 0.7917 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7853, allocations: 7.656 kB / 0.7917 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000876/0.7862, allocations: 0.872 MB / 0.7926 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.7864, allocations: 203.5 kB / 0.7928 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.7865, allocations: 20.28 kB / 0.7928 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.787, allocations: 19.88 kB / 0.7928 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.7871, allocations: 41.73 kB / 0.7928 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.7871, allocations: 25.14 kB / 0.7929 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004763/0.7876, allocations: 0.5076 MB / 0.7934 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7876, allocations: 0 / 0.7934 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006295/0.7882, allocations: 203 kB / 0.7935 GB, free: 8.652 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.001359/0.7896, allocations: 1.502 MB / 0.795 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006825/0.7903, allocations: 0.5148 MB / 0.7955 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7903, allocations: 0 / 0.7955 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.7905, allocations: 211.8 kB / 0.7957 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.7925, allocations: 479.5 kB / 0.7962 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006877/0.7994, allocations: 6.932 MB / 0.8029 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.7999, allocations: 1.031 MB / 0.804 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006441/0.8005, allocations: 209.2 kB / 0.8042 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/0.8009, allocations: 298.2 kB / 0.8044 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.8009, allocations: 0 / 0.8044 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04107/0.842, allocations: 22.04 MB / 0.826 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.455/8.297, allocations: 448 / 0.826 GB, free: 9.246 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)