Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.006902/0.006902, allocations: 96.34 kB / 15.73 MB, free: 6.055 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.00177/0.00177, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8612/0.8612, allocations: 135.1 MB / 425.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 67.89 kB / 0.5852 GB, free: 3.871 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3383, allocations: 80.92 MB / 0.6642 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1766/0.5149, allocations: 187.1 MB / 0.8469 GB, free: 5.871 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01345/0.5284, allocations: 13.02 MB / 0.8596 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008/0.5292, allocations: 31.81 kB / 0.8596 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.5303, allocations: 421.3 kB / 0.86 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.5322, allocations: 0.9566 MB / 0.861 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.5338, allocations: 0.7151 MB / 0.8617 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.5353, allocations: 1.502 MB / 0.8631 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000756/0.536, allocations: 0.6429 MB / 0.8638 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003069/0.5391, allocations: 1.779 MB / 0.8655 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009983/0.5401, allocations: 0.5017 MB / 0.866 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 7.953e-05/0.5402, allocations: 60 kB / 0.866 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.5416, allocations: 0.8809 MB / 0.8669 GB, free: 1.305 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.5418, allocations: 275.3 kB / 0.8672 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.5422, allocations: 382 kB / 0.8675 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.3262/0.8684, allocations: 1.188 MB / 0.8687 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.8684, allocations: 0.9375 kB / 0.8687 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8684, allocations: 0 / 0.8687 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.8685, allocations: 0 / 0.8687 GB, free: 6.227 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001375/0.8698, allocations: 1.079 MB / 0.8697 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.8699, allocations: 10.66 kB / 0.8698 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.495e-05/0.87, allocations: 100.8 kB / 0.8699 GB, free: 5.512 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008765/0.8709, allocations: 187.9 kB / 0.87 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007478/0.8716, allocations: 0.5557 MB / 0.8706 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.8717, allocations: 48.38 kB / 0.8706 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.451e-05/0.8718, allocations: 55.94 kB / 0.8707 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.8728, allocations: 0.7786 MB / 0.8714 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.8728, allocations: 6.797 kB / 0.8714 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.8729, allocations: 27.25 kB / 0.8715 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/0.8729, allocations: 23.47 kB / 0.8715 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008826/0.8738, allocations: 464.7 kB / 0.8719 GB, free: 4.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.003352/0.8772, allocations: 4.382 MB / 0.8762 GB, free: 17.56 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.823e-05/0.8773, allocations: 106.2 kB / 0.8763 GB, free: 17.47 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/0.8774, allocations: 74.53 kB / 0.8764 GB, free: 17.44 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.8775, allocations: 93.12 kB / 0.8765 GB, free: 17.34 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.8776, allocations: 42.88 kB / 0.8765 GB, free: 17.3 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.8776, allocations: 0 / 0.8765 GB, free: 17.3 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006096/0.8782, allocations: 253.2 kB / 0.8768 GB, free: 17.23 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.8783, allocations: 131.7 kB / 0.8769 GB, free: 17.07 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.8793, allocations: 0.8396 MB / 0.8777 GB, free: 16.93 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.8794, allocations: 28.2 kB / 0.8777 GB, free: 16.9 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.8796, allocations: 411.3 kB / 0.8781 GB, free: 16.71 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.8796, allocations: 39.14 kB / 0.8782 GB, free: 16.7 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.8798, allocations: 89.12 kB / 0.8782 GB, free: 16.67 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8799, allocations: 328.4 kB / 0.8786 GB, free: 16.36 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.8802, allocations: 115.2 kB / 0.8787 GB, free: 16.36 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.8805, allocations: 362.4 kB / 0.879 GB, free: 16.07 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.881, allocations: 437.5 kB / 0.8794 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.881, allocations: 3.156 kB / 0.8794 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008753/0.8819, allocations: 0.5011 MB / 0.8799 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.8819, allocations: 8.344 kB / 0.8799 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.8819, allocations: 8.5 kB / 0.8799 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.882, allocations: 10.81 kB / 0.8799 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.8823, allocations: 98.75 kB / 0.88 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.8823, allocations: 16.09 kB / 0.8801 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006125/0.8829, allocations: 117.4 kB / 0.8802 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.883, allocations: 25.05 kB / 0.8802 GB, free: 15.67 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0002321/0.8832, allocations: 232.2 kB / 0.8804 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.8834, allocations: 75.94 kB / 0.8805 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.8835, allocations: 78.77 kB / 0.8806 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.8835, allocations: 2.891 kB / 0.8806 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.8835, allocations: 0.9688 kB / 0.8806 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8835, allocations: 2.781 kB / 0.8806 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.8847, allocations: 1.119 MB / 0.8817 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.8847, allocations: 4.047 kB / 0.8817 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.16e-05/0.8848, allocations: 25.66 kB / 0.8817 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.8848, allocations: 3.844 kB / 0.8817 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.8849, allocations: 4.375 kB / 0.8817 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.8849, allocations: 6.844 kB / 0.8817 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.8849, allocations: 3.656 kB / 0.8817 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.8851, allocations: 269.2 kB / 0.882 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.8853, allocations: 180.5 kB / 0.8821 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.872e-05/0.8854, allocations: 6.969 kB / 0.8821 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.8857, allocations: 18.33 kB / 0.8822 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.8858, allocations: 13.12 kB / 0.8822 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.8858, allocations: 6.688 kB / 0.8822 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008774/0.8867, allocations: 0.5851 MB / 0.8828 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7.42e-07/0.8867, allocations: 0 / 0.8828 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0006129/0.8873, allocations: 162.3 kB / 0.8829 GB, free: 14.39 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (10): * Single equations (assignments): 10 * 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.0008377/0.8882, allocations: 0.8937 MB / 0.8838 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005321/0.8887, allocations: 241.5 kB / 0.884 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.8887, allocations: 0.5625 kB / 0.884 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 7.769e-05/0.8888, allocations: 50.91 kB / 0.8841 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.8904, allocations: 382.6 kB / 0.8844 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006366/0.8967, allocations: 5.461 MB / 0.8898 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.8972, allocations: 0.9439 MB / 0.8907 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0004973/0.8977, allocations: 142.8 kB / 0.8908 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.898, allocations: 230 kB / 0.891 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of SimCode: time 3.3e-07/0.898, allocations: 0 / 0.891 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.9345, allocations: 17.97 MB / 0.9086 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/9.177, allocations: 3.281 kB / 0.9086 GB, free: 9.391 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)