Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_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.004127/0.004127, allocations: 100.9 kB / 15.73 MB, free: 6.059 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.001023/0.001023, allocations: 197.8 kB / 16.68 MB, free: 5.969 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7311/0.7311, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.91 kB / 0.5809 GB, free: 7.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3402, allocations: 80.21 MB / 0.6592 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1785/0.5187, allocations: 187.1 MB / 0.8419 GB, free: 10.38 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01415/0.5329, allocations: 13.02 MB / 0.8546 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000877/0.5338, allocations: 27.88 kB / 0.8547 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.5351, allocations: 421.3 kB / 0.8551 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.5372, allocations: 0.9527 MB / 0.856 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.5388, allocations: 0.7217 MB / 0.8567 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001496/0.5404, allocations: 1.497 MB / 0.8582 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007929/0.5412, allocations: 0.6508 MB / 0.8588 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003183/0.5444, allocations: 1.775 MB / 0.8605 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.5454, allocations: 0.5065 MB / 0.861 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 8.108e-05/0.5455, allocations: 56 kB / 0.8611 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.5468, allocations: 0.877 MB / 0.8619 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.547, allocations: 275.2 kB / 0.8622 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.5474, allocations: 386 kB / 0.8626 GB, free: 5.168 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.5487, allocations: 1.183 MB / 0.8637 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.5487, allocations: 0 / 0.8637 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.504e-06/0.5488, allocations: 7.984 kB / 0.8637 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.5488, allocations: 0 / 0.8637 GB, free: 3.973 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.001291/0.5501, allocations: 1.074 MB / 0.8648 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.5501, allocations: 8.031 kB / 0.8648 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.5502, allocations: 102.5 kB / 0.8649 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008937/0.5511, allocations: 203.2 kB / 0.8651 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000786/0.5519, allocations: 0.5563 MB / 0.8656 GB, free: 1.934 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.552, allocations: 41.31 kB / 0.8657 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.541e-05/0.552, allocations: 60 kB / 0.8657 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.5531, allocations: 0.7828 MB / 0.8665 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.5531, allocations: 7.938 kB / 0.8665 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/0.5532, allocations: 24 kB / 0.8665 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.5532, allocations: 21 kB / 0.8665 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008542/0.5541, allocations: 455.3 kB / 0.867 GB, free: 460 kB / 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.2661/0.8202, allocations: 4.386 MB / 0.8712 GB, free: 194.7 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.8203, allocations: 105.2 kB / 0.8713 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.256e-05/0.8204, allocations: 74.56 kB / 0.8714 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.8206, allocations: 96.08 kB / 0.8715 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.8206, allocations: 34.73 kB / 0.8715 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/0.8206, allocations: 0 / 0.8715 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0006888/0.8213, allocations: 246.3 kB / 0.8718 GB, free: 194.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.8214, allocations: 135.2 kB / 0.8719 GB, free: 194.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.8225, allocations: 0.8463 MB / 0.8727 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.8225, allocations: 28.38 kB / 0.8728 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.8228, allocations: 410.8 kB / 0.8731 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.8228, allocations: 42.2 kB / 0.8732 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.823, allocations: 92.48 kB / 0.8733 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.823, allocations: 323.2 kB / 0.8736 GB, free: 193 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.8233, allocations: 114.1 kB / 0.8737 GB, free: 193 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.8237, allocations: 366.8 kB / 0.874 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.8242, allocations: 441 kB / 0.8745 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.8242, allocations: 2.406 kB / 0.8745 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009148/0.8251, allocations: 0.5015 MB / 0.875 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.8251, allocations: 9.516 kB / 0.875 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.8252, allocations: 8.375 kB / 0.875 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.8252, allocations: 11.38 kB / 0.875 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.8255, allocations: 95.91 kB / 0.8751 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.8255, allocations: 23.8 kB / 0.8751 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/0.8262, allocations: 110.6 kB / 0.8752 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.8262, allocations: 27.06 kB / 0.8752 GB, free: 192.1 MB / 0.6856 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.0002108/0.8265, allocations: 234.8 kB / 0.8755 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.8266, allocations: 76.48 kB / 0.8755 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.8267, allocations: 72.97 kB / 0.8756 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8267, allocations: 2.844 kB / 0.8756 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.8267, allocations: 1.438 kB / 0.8756 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.8268, allocations: 2.344 kB / 0.8756 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.8279, allocations: 1.118 MB / 0.8767 GB, free: 191 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.828, allocations: 6.531 kB / 0.8767 GB, free: 191 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.48e-05/0.8281, allocations: 21.69 kB / 0.8767 GB, free: 191 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.8281, allocations: 3.531 kB / 0.8767 GB, free: 191 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.8281, allocations: 7.5 kB / 0.8767 GB, free: 191 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.8281, allocations: 3.75 kB / 0.8767 GB, free: 191 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.8281, allocations: 4.75 kB / 0.8767 GB, free: 191 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.8284, allocations: 266.3 kB / 0.877 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.8286, allocations: 179.8 kB / 0.8772 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.574e-05/0.8287, allocations: 7.75 kB / 0.8772 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.829, allocations: 18.41 kB / 0.8772 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.829, allocations: 15.98 kB / 0.8772 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.829, allocations: 5.219 kB / 0.8772 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007882/0.8298, allocations: 0.5891 MB / 0.8778 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8298, allocations: 0 / 0.8778 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005769/0.8304, allocations: 157.4 kB / 0.8779 GB, free: 190.3 MB / 0.6856 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.0006674/0.8311, allocations: 0.8897 MB / 0.8788 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005144/0.8316, allocations: 243.6 kB / 0.879 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8316, allocations: 1.031 kB / 0.879 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-05/0.8317, allocations: 48.48 kB / 0.8791 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.8333, allocations: 383.8 kB / 0.8794 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006392/0.8397, allocations: 5.473 MB / 0.8848 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.84, allocations: 0.9401 MB / 0.8857 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004543/0.8405, allocations: 154.1 kB / 0.8859 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.8407, allocations: 230.9 kB / 0.8861 GB, free: 185 MB / 0.6856 GB Notification: Performance of SimCode: time 7.52e-07/0.8407, allocations: 4 kB / 0.8861 GB, free: 185 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.8741, allocations: 17.96 MB / 0.9036 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.24/9.115, allocations: 9.953 kB / 0.9036 GB, free: 176.4 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)