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.004614/0.004613, allocations: 100 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.001072/0.001072, allocations: 193.8 kB / 16.68 MB, free: 5.973 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8799/0.8799, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 0.5852 GB, free: 3.766 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3373, allocations: 80.92 MB / 0.6642 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1802/0.5175, allocations: 187.3 MB / 0.8471 GB, free: 5.586 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.5323, allocations: 13.06 MB / 0.8598 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009727/0.5333, allocations: 31.81 kB / 0.8599 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.5346, allocations: 437.2 kB / 0.8603 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.5375, allocations: 1.202 MB / 0.8614 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.5392, allocations: 0.718 MB / 0.8621 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002358/0.5416, allocations: 2.008 MB / 0.8641 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.5428, allocations: 0.855 MB / 0.8649 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003551/0.5463, allocations: 1.86 MB / 0.8668 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.5478, allocations: 0.6594 MB / 0.8674 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.548, allocations: 80 kB / 0.8675 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3341/0.882, allocations: 0.8735 MB / 0.8683 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004847/0.8826, allocations: 383.8 kB / 0.8687 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006809/0.8832, allocations: 0.4961 MB / 0.8692 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.8855, allocations: 1.507 MB / 0.8707 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8855, allocations: 2.047 kB / 0.8707 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.492e-06/0.8855, allocations: 0.625 kB / 0.8707 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.8855, allocations: 0 / 0.8707 GB, free: 5.262 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.001642/0.8872, allocations: 1.263 MB / 0.8719 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.8872, allocations: 9 kB / 0.8719 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.8874, allocations: 127.9 kB / 0.872 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.8885, allocations: 214.6 kB / 0.8722 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009807/0.8895, allocations: 0.6897 MB / 0.8729 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/0.8895, allocations: 58.81 kB / 0.873 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.8897, allocations: 77.66 kB / 0.873 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.8908, allocations: 0.9307 MB / 0.8739 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.8909, allocations: 9.75 kB / 0.8739 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.35e-05/0.891, allocations: 30.88 kB / 0.874 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/0.891, allocations: 31.81 kB / 0.874 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009753/0.892, allocations: 0.6202 MB / 0.8746 GB, free: 3.883 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.003852/0.8958, allocations: 4.582 MB / 0.8791 GB, free: 16.73 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006587/0.8965, allocations: 0.5362 MB / 0.8796 GB, free: 16.57 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.8968, allocations: 243.8 kB / 0.8798 GB, free: 16.54 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.897, allocations: 99.52 kB / 0.8799 GB, free: 16.45 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.8971, allocations: 46.91 kB / 0.88 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=43): time 1.954e-06/0.8971, allocations: 0 / 0.88 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.002763/0.8998, allocations: 1.614 MB / 0.8816 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.8999, allocations: 110.8 kB / 0.8817 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008918/0.9008, allocations: 0.7158 MB / 0.8824 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.9009, allocations: 33.2 kB / 0.8824 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.9011, allocations: 425.2 kB / 0.8828 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.9012, allocations: 170.2 kB / 0.883 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.9014, allocations: 122.5 kB / 0.8831 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.9015, allocations: 327 kB / 0.8834 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.9018, allocations: 185.8 kB / 0.8836 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.9022, allocations: 419.4 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.001999/0.9042, allocations: 1.169 MB / 0.8851 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.9043, allocations: 1.656 kB / 0.8851 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009475/0.9052, allocations: 0.6707 MB / 0.8858 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9052, allocations: 9.312 kB / 0.8858 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.9053, allocations: 5.188 kB / 0.8858 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.9053, allocations: 19.77 kB / 0.8858 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.9058, allocations: 125.1 kB / 0.8859 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.9058, allocations: 18.69 kB / 0.8859 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.9063, allocations: 25.42 kB / 0.886 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.9064, allocations: 30.09 kB / 0.886 GB, free: 14.19 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.0003693/0.9068, allocations: 272 kB / 0.8863 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.9069, allocations: 83.14 kB / 0.8863 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.9071, allocations: 90.41 kB / 0.8864 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.9071, allocations: 12.75 kB / 0.8864 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.9071, allocations: 1.188 kB / 0.8864 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007206/0.9079, allocations: 0.7012 MB / 0.8871 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.9102, allocations: 1.643 MB / 0.8887 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.9102, allocations: 5.219 kB / 0.8887 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/0.9107, allocations: 101.6 kB / 0.8888 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.9107, allocations: 6.719 kB / 0.8888 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.9108, allocations: 14.69 kB / 0.8888 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.9108, allocations: 11.62 kB / 0.8889 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.9108, allocations: 7.281 kB / 0.8889 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.9119, allocations: 0.8911 MB / 0.8897 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.9122, allocations: 207.9 kB / 0.8899 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.9123, allocations: 16.33 kB / 0.8899 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.9127, allocations: 22.66 kB / 0.89 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.9128, allocations: 37.45 kB / 0.89 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.9128, allocations: 21.56 kB / 0.89 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006152/0.9135, allocations: 0.5157 MB / 0.8905 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9135, allocations: 3.906 kB / 0.8905 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000778/0.9142, allocations: 198.2 kB / 0.8907 GB, free: 12.42 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.001542/0.9158, allocations: 1.531 MB / 0.8922 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007418/0.9165, allocations: 492.6 kB / 0.8927 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.9166, allocations: 4.406 kB / 0.8927 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.9168, allocations: 209.4 kB / 0.8929 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.9188, allocations: 490 kB / 0.8934 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007709/0.9266, allocations: 6.625 MB / 0.8998 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.9271, allocations: 1.027 MB / 0.9008 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005938/0.9277, allocations: 195.8 kB / 0.901 GB, free: 8.246 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.928, allocations: 299.9 kB / 0.9013 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of SimCode: time 6.01e-07/0.928, allocations: 0 / 0.9013 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04086/0.9689, allocations: 22.24 MB / 0.923 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.436/9.405, allocations: 16.31 kB / 0.923 GB, free: 5.707 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)