Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_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.001167/0.001167, allocations: 108 kB / 15.61 MB, free: 128 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.001203/0.001202, allocations: 195.5 kB / 16.53 MB, free: 6.668 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7612/0.7612, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 68.48 kB / 0.5019 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3469, allocations: 80.19 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1924/0.5393, allocations: 187.3 MB / 0.7631 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.5549, allocations: 13.08 MB / 0.7758 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009651/0.5559, allocations: 31.81 kB / 0.7759 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.5571, allocations: 425.2 kB / 0.7763 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002587/0.5597, allocations: 1.159 MB / 0.7774 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.5613, allocations: 0.6984 MB / 0.7781 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002038/0.5633, allocations: 2.008 MB / 0.78 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.5643, allocations: 0.8317 MB / 0.7809 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003457/0.5678, allocations: 1.813 MB / 0.7826 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.5692, allocations: 0.6582 MB / 0.7833 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.5694, allocations: 80 kB / 0.7833 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.5709, allocations: 0.873 MB / 0.7842 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.5713, allocations: 383 kB / 0.7846 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004706/0.5718, allocations: 0.4976 MB / 0.785 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.5734, allocations: 1.468 MB / 0.7865 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5734, allocations: 0 / 0.7865 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5735, allocations: 0 / 0.7865 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.5735, allocations: 0 / 0.7865 GB, free: 13.5 MB / 0.6231 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.001681/0.5752, allocations: 1.231 MB / 0.7877 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.5752, allocations: 8.031 kB / 0.7877 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.5753, allocations: 126.5 kB / 0.7878 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.5765, allocations: 210.6 kB / 0.788 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009083/0.5774, allocations: 0.648 MB / 0.7886 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.121e-05/0.5775, allocations: 57.94 kB / 0.7887 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.5776, allocations: 76 kB / 0.7888 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.5789, allocations: 0.938 MB / 0.7897 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/0.5789, allocations: 3.938 kB / 0.7897 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.379e-05/0.579, allocations: 32 kB / 0.7897 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.5791, allocations: 29.31 kB / 0.7898 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009508/0.58, allocations: 0.6177 MB / 0.7904 GB, free: 9.34 MB / 0.6231 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.004068/0.5841, allocations: 4.597 MB / 0.7948 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007187/0.5848, allocations: 0.5422 MB / 0.7954 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.5852, allocations: 253.6 kB / 0.7956 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.5853, allocations: 101 kB / 0.7957 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.5854, allocations: 42.56 kB / 0.7958 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 1.874e-06/0.5854, allocations: 3.938 kB / 0.7958 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.00259/0.588, allocations: 1.571 MB / 0.7973 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.5881, allocations: 111 kB / 0.7974 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007855/0.5889, allocations: 0.7232 MB / 0.7981 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.5889, allocations: 37.7 kB / 0.7981 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.5892, allocations: 415.8 kB / 0.7985 GB, free: 500 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.5893, allocations: 165.6 kB / 0.7987 GB, free: 332 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.5895, allocations: 114.2 kB / 0.7988 GB, free: 208 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5896, allocations: 330 kB / 0.7991 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.5899, allocations: 189.2 kB / 0.7993 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.5903, allocations: 417 kB / 0.7997 GB, free: 15.19 MB / 0.6387 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.002134/0.5925, allocations: 1.163 MB / 0.8008 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5925, allocations: 4 kB / 0.8008 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009432/0.5934, allocations: 0.6674 MB / 0.8015 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.5935, allocations: 8 kB / 0.8015 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5935, allocations: 12.72 kB / 0.8015 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.5935, allocations: 8 kB / 0.8015 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.594, allocations: 135.8 kB / 0.8016 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.594, allocations: 15.92 kB / 0.8017 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.5945, allocations: 20 kB / 0.8017 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.5946, allocations: 28 kB / 0.8017 GB, free: 13.02 MB / 0.6387 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.0003282/0.5949, allocations: 273.5 kB / 0.802 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.5951, allocations: 90.95 kB / 0.8021 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.5952, allocations: 87.75 kB / 0.8021 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5953, allocations: 8 kB / 0.8021 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5953, allocations: 4 kB / 0.8021 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00068/0.596, allocations: 0.7037 MB / 0.8028 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.5981, allocations: 1.643 MB / 0.8044 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.5982, allocations: 8.031 kB / 0.8044 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/0.5986, allocations: 95.88 kB / 0.8045 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.5986, allocations: 8 kB / 0.8045 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.5987, allocations: 16 kB / 0.8046 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.5987, allocations: 7.938 kB / 0.8046 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.5987, allocations: 4 kB / 0.8046 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.5998, allocations: 0.9053 MB / 0.8055 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.6, allocations: 208.1 kB / 0.8057 GB, free: 8.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.6001, allocations: 12 kB / 0.8057 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.6006, allocations: 31.91 kB / 0.8057 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.6007, allocations: 39.83 kB / 0.8057 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.6007, allocations: 20 kB / 0.8058 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005659/0.6013, allocations: 0.5068 MB / 0.8063 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6013, allocations: 0 / 0.8063 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006722/0.602, allocations: 200 kB / 0.8064 GB, free: 7.891 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],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.001564/0.6035, allocations: 1.525 MB / 0.8079 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008137/0.6044, allocations: 0.5118 MB / 0.8084 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6044, allocations: 7.938 kB / 0.8084 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.6047, allocations: 213.1 kB / 0.8086 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.6067, allocations: 477.6 kB / 0.8091 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2367/0.8435, allocations: 6.897 MB / 0.8158 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/0.844, allocations: 1.027 MB / 0.8168 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007357/0.8447, allocations: 195.5 kB / 0.817 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.8451, allocations: 296.3 kB / 0.8173 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of SimCode: time 9.62e-07/0.8451, allocations: 0.75 kB / 0.8173 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04459/0.8897, allocations: 22.04 MB / 0.8388 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/8.634, allocations: 7.875 kB / 0.8388 GB, free: 210.5 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)