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.001167/0.001167, allocations: 108 kB / 15.6 MB, free: 132 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.001162/0.001162, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8922/0.8922, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 58.91 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1367, allocations: 80.93 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4074/0.5442, allocations: 187.2 MB / 0.7673 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01486/0.5591, allocations: 13.05 MB / 0.7801 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009472/0.56, allocations: 39.81 kB / 0.7801 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.5612, allocations: 421.1 kB / 0.7805 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.5638, allocations: 1.16 MB / 0.7816 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.5654, allocations: 0.7003 MB / 0.7823 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00202/0.5675, allocations: 2.006 MB / 0.7843 GB, free: 196 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.5685, allocations: 0.8446 MB / 0.7851 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/0.5721, allocations: 1.806 MB / 0.7869 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.5735, allocations: 0.67 MB / 0.7875 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.5736, allocations: 80 kB / 0.7876 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.5753, allocations: 0.8614 MB / 0.7884 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003682/0.5757, allocations: 383 kB / 0.7888 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004993/0.5762, allocations: 0.5054 MB / 0.7893 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.5779, allocations: 1.476 MB / 0.7907 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5779, allocations: 0 / 0.7907 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5779, allocations: 0 / 0.7907 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.578, allocations: 0 / 0.7907 GB, free: 9.555 MB / 0.6075 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.0017/0.5797, allocations: 1.234 MB / 0.792 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.5797, allocations: 12.03 kB / 0.792 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.5799, allocations: 130.4 kB / 0.7921 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.581, allocations: 210.6 kB / 0.7923 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009157/0.582, allocations: 0.648 MB / 0.7929 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/0.582, allocations: 58 kB / 0.793 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.5821, allocations: 76 kB / 0.7931 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.5834, allocations: 0.9288 MB / 0.794 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.5835, allocations: 11.88 kB / 0.794 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.5835, allocations: 32 kB / 0.794 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.5836, allocations: 29.31 kB / 0.794 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000964/0.5845, allocations: 0.6138 MB / 0.7946 GB, free: 5.398 MB / 0.6075 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.004061/0.5886, allocations: 4.593 MB / 0.7991 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.5894, allocations: 0.5371 MB / 0.7996 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.5897, allocations: 253.1 kB / 0.7999 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.5899, allocations: 101.1 kB / 0.8 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.59, allocations: 46.44 kB / 0.8 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 1.884e-06/0.59, allocations: 0 / 0.8 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002638/0.5926, allocations: 1.574 MB / 0.8016 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.5927, allocations: 110.8 kB / 0.8017 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008186/0.5935, allocations: 0.7155 MB / 0.8024 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.5936, allocations: 37.7 kB / 0.8024 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.5939, allocations: 419.6 kB / 0.8028 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.594, allocations: 161.8 kB / 0.803 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.5942, allocations: 126.2 kB / 0.8031 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.5943, allocations: 333.9 kB / 0.8034 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.5946, allocations: 185.2 kB / 0.8036 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.5951, allocations: 413 kB / 0.804 GB, free: 11.26 MB / 0.6231 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.002208/0.5973, allocations: 1.176 MB / 0.8051 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5973, allocations: 4 kB / 0.8051 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001001/0.5983, allocations: 0.6678 MB / 0.8058 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.5983, allocations: 11.98 kB / 0.8058 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5983, allocations: 8 kB / 0.8058 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.5984, allocations: 9 kB / 0.8058 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.5989, allocations: 123.8 kB / 0.8059 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.5989, allocations: 11.94 kB / 0.8059 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/0.5994, allocations: 27.98 kB / 0.8059 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/0.5995, allocations: 33.25 kB / 0.806 GB, free: 9.086 MB / 0.6231 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.0003429/0.5999, allocations: 269.6 kB / 0.8062 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.6, allocations: 86.91 kB / 0.8063 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.6002, allocations: 91.66 kB / 0.8064 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6002, allocations: 4 kB / 0.8064 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6002, allocations: 4.875 kB / 0.8064 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007234/0.6009, allocations: 0.691 MB / 0.8071 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.6032, allocations: 1.642 MB / 0.8087 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.6032, allocations: 7.938 kB / 0.8087 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.6037, allocations: 103.9 kB / 0.8088 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.6037, allocations: 8.5 kB / 0.8088 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.6037, allocations: 23.88 kB / 0.8088 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/0.6037, allocations: 7.938 kB / 0.8088 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.6037, allocations: 4 kB / 0.8088 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.6048, allocations: 0.8908 MB / 0.8097 GB, free: 5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.6051, allocations: 208 kB / 0.8099 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.6052, allocations: 16 kB / 0.8099 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/0.6057, allocations: 15.98 kB / 0.8099 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.6057, allocations: 43.84 kB / 0.81 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.6058, allocations: 27.92 kB / 0.81 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005957/0.6064, allocations: 0.5029 MB / 0.8105 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6064, allocations: 0 / 0.8105 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006784/0.6071, allocations: 204 kB / 0.8107 GB, free: 3.98 MB / 0.6231 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.001576/0.6087, allocations: 1.532 MB / 0.8122 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008506/0.6095, allocations: 0.524 MB / 0.8127 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6095, allocations: 4 kB / 0.8127 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.6098, allocations: 212.4 kB / 0.8129 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.612, allocations: 481.6 kB / 0.8134 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008317/0.6203, allocations: 6.904 MB / 0.8201 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.6209, allocations: 1.024 MB / 0.8211 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006742/0.6216, allocations: 211 kB / 0.8213 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.6219, allocations: 295.3 kB / 0.8216 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/0.622, allocations: 0 / 0.8216 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04398/0.6659, allocations: 22.05 MB / 0.8431 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/8.342, allocations: 3.859 kB / 0.8431 GB, free: 2.691 MB / 0.6544 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)