Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_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.004569/0.004569, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.001113/0.001113, allocations: 198.2 kB / 16.68 MB, free: 5.98 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8972/0.8972, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 71.89 kB / 0.5852 GB, free: 3.805 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3828, allocations: 80.9 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2206/0.6035, allocations: 187.3 MB / 0.8471 GB, free: 5.613 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0159/0.6194, allocations: 13.06 MB / 0.8598 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.6205, allocations: 31.81 kB / 0.8599 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.6218, allocations: 433.2 kB / 0.8603 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.6247, allocations: 1.206 MB / 0.8614 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.6264, allocations: 0.718 MB / 0.8621 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002363/0.6288, allocations: 2.008 MB / 0.8641 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.63, allocations: 0.8433 MB / 0.8649 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003653/0.6337, allocations: 1.872 MB / 0.8668 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.6351, allocations: 0.6626 MB / 0.8674 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.6353, allocations: 80 kB / 0.8675 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3607/0.9961, allocations: 0.8724 MB / 0.8683 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004921/0.9966, allocations: 384.9 kB / 0.8687 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006948/0.9973, allocations: 0.4951 MB / 0.8692 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.9996, allocations: 1.506 MB / 0.8707 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9996, allocations: 0.75 kB / 0.8707 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9996, allocations: 1.219 kB / 0.8707 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.9996, allocations: 0 / 0.8707 GB, free: 5.27 MB / 0.6856 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.001633/1.001, allocations: 1.26 MB / 0.8719 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/1.001, allocations: 9.781 kB / 0.8719 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/1.001, allocations: 125.6 kB / 0.872 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/1.003, allocations: 222 kB / 0.8722 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/1.004, allocations: 0.682 MB / 0.8729 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/1.004, allocations: 57.38 kB / 0.873 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/1.004, allocations: 75.59 kB / 0.873 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/1.005, allocations: 0.9391 MB / 0.8739 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/1.005, allocations: 2.656 kB / 0.8739 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.858e-05/1.005, allocations: 36.5 kB / 0.874 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/1.005, allocations: 28.22 kB / 0.874 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009321/1.006, allocations: 0.6165 MB / 0.8746 GB, free: 3.891 MB / 0.6856 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.003865/1.01, allocations: 4.584 MB / 0.8791 GB, free: 16.74 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006396/1.011, allocations: 0.5355 MB / 0.8796 GB, free: 16.57 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/1.011, allocations: 246 kB / 0.8798 GB, free: 16.55 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/1.011, allocations: 97.11 kB / 0.8799 GB, free: 16.46 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/1.011, allocations: 43.72 kB / 0.88 GB, free: 16.42 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=43): time 1.793e-06/1.011, allocations: 0 / 0.88 GB, free: 16.42 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.00279/1.014, allocations: 1.62 MB / 0.8816 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/1.014, allocations: 112.1 kB / 0.8817 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009533/1.015, allocations: 0.7132 MB / 0.8824 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/1.015, allocations: 36.89 kB / 0.8824 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/1.015, allocations: 426.8 kB / 0.8828 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/1.016, allocations: 169.1 kB / 0.883 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/1.016, allocations: 118.3 kB / 0.8831 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.016, allocations: 331.5 kB / 0.8834 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/1.016, allocations: 188.4 kB / 0.8836 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/1.017, allocations: 412.6 kB / 0.884 GB, free: 14.61 MB / 0.7012 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.002183/1.019, allocations: 1.17 MB / 0.8851 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.019, allocations: 1.875 kB / 0.8851 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009362/1.02, allocations: 0.6697 MB / 0.8858 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.02, allocations: 10.75 kB / 0.8858 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.02, allocations: 8.406 kB / 0.8858 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/1.02, allocations: 12.78 kB / 0.8858 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/1.02, allocations: 127.4 kB / 0.8859 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/1.02, allocations: 11.84 kB / 0.8859 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/1.021, allocations: 26.22 kB / 0.886 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/1.021, allocations: 31.34 kB / 0.886 GB, free: 14.2 MB / 0.7012 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.0003545/1.021, allocations: 274.9 kB / 0.8862 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/1.021, allocations: 87.84 kB / 0.8863 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/1.022, allocations: 89.89 kB / 0.8864 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/1.022, allocations: 8.281 kB / 0.8864 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.022, allocations: 1.062 kB / 0.8864 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006876/1.022, allocations: 0.7034 MB / 0.8871 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/1.024, allocations: 1.644 MB / 0.8887 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.024, allocations: 4.031 kB / 0.8887 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/1.025, allocations: 103.5 kB / 0.8888 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/1.025, allocations: 6.344 kB / 0.8888 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/1.025, allocations: 15.31 kB / 0.8888 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/1.025, allocations: 12.47 kB / 0.8889 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.025, allocations: 7.719 kB / 0.8889 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/1.026, allocations: 0.892 MB / 0.8897 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/1.026, allocations: 213 kB / 0.8899 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/1.026, allocations: 18.27 kB / 0.89 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/1.027, allocations: 19.59 kB / 0.89 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/1.027, allocations: 37.42 kB / 0.89 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/1.027, allocations: 25.16 kB / 0.89 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006086/1.028, allocations: 0.5095 MB / 0.8905 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/1.028, allocations: 0 / 0.8905 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007947/1.028, allocations: 204.7 kB / 0.8907 GB, free: 12.43 MB / 0.7012 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.001641/1.03, allocations: 1.523 MB / 0.8922 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007231/1.031, allocations: 497.8 kB / 0.8927 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.031, allocations: 0.8125 kB / 0.8927 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002711/1.031, allocations: 212.5 kB / 0.8929 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/1.033, allocations: 480.3 kB / 0.8933 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007832/1.041, allocations: 6.626 MB / 0.8998 GB, free: 8.977 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005607/1.042, allocations: 1.031 MB / 0.9008 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006939/1.042, allocations: 199 kB / 0.901 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/1.043, allocations: 295.7 kB / 0.9013 GB, free: 8.246 MB / 0.7012 GB Notification: Performance of SimCode: time 6.41e-07/1.043, allocations: 1.031 kB / 0.9013 GB, free: 8.246 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04205/1.085, allocations: 22.24 MB / 0.923 GB, free: 5.742 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.554/9.639, allocations: 6.359 kB / 0.923 GB, free: 5.738 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)