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.004392/0.004392, allocations: 96.7 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.001242/0.001242, allocations: 198.1 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9424/0.9424, allocations: 135.5 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 71.89 kB / 0.5858 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3526, allocations: 81.02 MB / 0.6649 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.201/0.5537, allocations: 187.1 MB / 0.8476 GB, free: 5.168 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.5699, allocations: 13.02 MB / 0.8603 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008719/0.5708, allocations: 31.81 kB / 0.8603 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.5721, allocations: 409.3 kB / 0.8607 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.5744, allocations: 0.9214 MB / 0.8616 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.5762, allocations: 0.7148 MB / 0.8623 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.5781, allocations: 1.489 MB / 0.8638 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008852/0.579, allocations: 0.6508 MB / 0.8644 GB, free: 3.875 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/0.5823, allocations: 1.72 MB / 0.8661 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.5835, allocations: 0.5074 MB / 0.8666 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 9.462e-05/0.5836, allocations: 56 kB / 0.8666 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.5851, allocations: 0.8653 MB / 0.8675 GB, free: 0.7227 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002759/0.5854, allocations: 275.2 kB / 0.8677 GB, free: 464 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003908/0.5858, allocations: 390 kB / 0.8681 GB, free: 72 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.3474/0.9332, allocations: 1.183 MB / 0.8693 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.9333, allocations: 0.9375 kB / 0.8693 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9333, allocations: 0 / 0.8693 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.9333, allocations: 0 / 0.8693 GB, free: 5.09 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.001279/0.9346, allocations: 1.082 MB / 0.8703 GB, free: 4.414 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.9346, allocations: 10.3 kB / 0.8703 GB, free: 4.414 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.829e-05/0.9347, allocations: 102.8 kB / 0.8704 GB, free: 4.375 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009001/0.9356, allocations: 187.8 kB / 0.8706 GB, free: 4.332 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007582/0.9364, allocations: 0.5562 MB / 0.8712 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.9364, allocations: 44.67 kB / 0.8712 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.9365, allocations: 58.14 kB / 0.8713 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.9376, allocations: 0.7772 MB / 0.872 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.9376, allocations: 7.531 kB / 0.872 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.9377, allocations: 23.72 kB / 0.8721 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.9377, allocations: 23.58 kB / 0.8721 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008904/0.9386, allocations: 468.2 kB / 0.8725 GB, free: 3.746 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.003701/0.9424, allocations: 4.382 MB / 0.8768 GB, free: 16.43 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.967e-05/0.9425, allocations: 106.3 kB / 0.8769 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.566e-05/0.9426, allocations: 76.36 kB / 0.877 GB, free: 16.3 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.9427, allocations: 98.33 kB / 0.8771 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.9428, allocations: 37.44 kB / 0.8771 GB, free: 16.17 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.9428, allocations: 1.125 kB / 0.8771 GB, free: 16.17 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006617/0.9434, allocations: 244.8 kB / 0.8773 GB, free: 16.09 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.9435, allocations: 134.8 kB / 0.8775 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.9447, allocations: 0.8437 MB / 0.8783 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.9447, allocations: 29.98 kB / 0.8783 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.945, allocations: 407.9 kB / 0.8787 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.945, allocations: 45.23 kB / 0.8788 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.9451, allocations: 92.2 kB / 0.8788 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.9453, allocations: 324.3 kB / 0.8791 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.9456, allocations: 114.2 kB / 0.8793 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.946, allocations: 362.5 kB / 0.8796 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.9465, allocations: 437.5 kB / 0.88 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.9465, allocations: 2.656 kB / 0.88 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009591/0.9475, allocations: 0.4978 MB / 0.8805 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.9475, allocations: 8.656 kB / 0.8805 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.9475, allocations: 9.375 kB / 0.8805 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.9475, allocations: 10.88 kB / 0.8805 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.9479, allocations: 99.39 kB / 0.8806 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.9479, allocations: 17.11 kB / 0.8806 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/0.9486, allocations: 116.9 kB / 0.8808 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.9486, allocations: 25.31 kB / 0.8808 GB, free: 14.54 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.0002438/0.9489, allocations: 232.4 kB / 0.881 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.949, allocations: 78.06 kB / 0.8811 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.9491, allocations: 77.44 kB / 0.8812 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.9491, allocations: 2.406 kB / 0.8812 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9492, allocations: 1.594 kB / 0.8812 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.9492, allocations: 1.5 kB / 0.8812 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.9505, allocations: 1.12 MB / 0.8823 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.9505, allocations: 2.469 kB / 0.8823 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.392e-05/0.9506, allocations: 22.42 kB / 0.8823 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.9506, allocations: 3.438 kB / 0.8823 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.9506, allocations: 10.66 kB / 0.8823 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.9506, allocations: 7 kB / 0.8823 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.9507, allocations: 6.656 kB / 0.8823 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.951, allocations: 265.1 kB / 0.8826 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.9512, allocations: 182.1 kB / 0.8827 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.479e-05/0.9513, allocations: 4.781 kB / 0.8827 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.9516, allocations: 21.78 kB / 0.8828 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.9517, allocations: 8.734 kB / 0.8828 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.9517, allocations: 6.406 kB / 0.8828 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008583/0.9525, allocations: 0.5872 MB / 0.8833 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9525, allocations: 3.094 kB / 0.8833 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0006538/0.9532, allocations: 162.1 kB / 0.8835 GB, free: 13.25 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.0009245/0.9541, allocations: 0.8866 MB / 0.8844 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005383/0.9547, allocations: 246.3 kB / 0.8846 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.9547, allocations: 1.766 kB / 0.8846 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 6.615e-05/0.9548, allocations: 50.7 kB / 0.8847 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.9563, allocations: 377 kB / 0.885 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006709/0.963, allocations: 5.466 MB / 0.8903 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.9636, allocations: 0.9404 MB / 0.8913 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005194/0.9642, allocations: 142.6 kB / 0.8914 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.9644, allocations: 231.5 kB / 0.8916 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of SimCode: time 7.32e-07/0.9644, allocations: 0.875 kB / 0.8916 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/1.006, allocations: 17.98 MB / 0.9092 GB, free: 8.246 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.69/9.696, allocations: 8.391 kB / 0.9092 GB, free: 8.242 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)