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.005024/0.005024, allocations: 96.56 kB / 15.73 MB, free: 5.996 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.001059/0.001059, allocations: 186 kB / 16.67 MB, free: 5.926 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8726/0.8726, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.89 kB / 0.5852 GB, free: 3.844 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.381, allocations: 80.92 MB / 0.6642 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1898/0.5709, allocations: 187.1 MB / 0.8469 GB, free: 5.82 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01577/0.5867, allocations: 13.01 MB / 0.8596 GB, free: 8.77 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.5879, allocations: 31.81 kB / 0.8596 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.5894, allocations: 421.3 kB / 0.86 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.592, allocations: 0.9527 MB / 0.861 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.5939, allocations: 0.7094 MB / 0.8617 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.5961, allocations: 1.5 MB / 0.8631 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.5971, allocations: 0.6546 MB / 0.8638 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/0.6008, allocations: 1.775 MB / 0.8655 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.6022, allocations: 0.5 MB / 0.866 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.6023, allocations: 56 kB / 0.866 GB, free: 2.156 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.6041, allocations: 0.8809 MB / 0.8669 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003833/0.6045, allocations: 275.2 kB / 0.8672 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005874/0.6051, allocations: 386 kB / 0.8675 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.3761/0.9813, allocations: 1.185 MB / 0.8687 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.9813, allocations: 0 / 0.8687 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9813, allocations: 0.875 kB / 0.8687 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.466e-05/0.9814, allocations: 0.5625 kB / 0.8687 GB, free: 6.234 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.002258/0.9836, allocations: 1.078 MB / 0.8697 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.9837, allocations: 10.31 kB / 0.8697 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.9839, allocations: 101.7 kB / 0.8698 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.985, allocations: 189 kB / 0.87 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.9861, allocations: 0.5533 MB / 0.8706 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.9861, allocations: 49.7 kB / 0.8706 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/0.9862, allocations: 57.91 kB / 0.8707 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.9876, allocations: 0.7787 MB / 0.8714 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.9876, allocations: 6.297 kB / 0.8714 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.107e-05/0.9877, allocations: 29.44 kB / 0.8715 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/0.9877, allocations: 22.94 kB / 0.8715 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.9888, allocations: 462.8 kB / 0.8719 GB, free: 4.891 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.00421/0.993, allocations: 4.389 MB / 0.8762 GB, free: 17.57 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.9931, allocations: 101.5 kB / 0.8763 GB, free: 17.48 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.679e-05/0.9932, allocations: 77 kB / 0.8764 GB, free: 17.45 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.9934, allocations: 94.23 kB / 0.8765 GB, free: 17.35 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.9934, allocations: 39.03 kB / 0.8765 GB, free: 17.31 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.814e-06/0.9934, allocations: 0.8125 kB / 0.8765 GB, free: 17.31 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0007246/0.9942, allocations: 252.5 kB / 0.8767 GB, free: 17.24 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.9942, allocations: 132 kB / 0.8769 GB, free: 17.08 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.9955, allocations: 0.8405 MB / 0.8777 GB, free: 16.94 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.9955, allocations: 31.05 kB / 0.8777 GB, free: 16.91 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.9958, allocations: 412.4 kB / 0.8781 GB, free: 16.72 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.9959, allocations: 35.61 kB / 0.8781 GB, free: 16.7 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.996, allocations: 93.52 kB / 0.8782 GB, free: 16.68 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.9961, allocations: 326.1 kB / 0.8785 GB, free: 16.37 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.9964, allocations: 112 kB / 0.8787 GB, free: 16.37 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.9968, allocations: 366.2 kB / 0.879 GB, free: 16.07 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/0.9973, allocations: 437.2 kB / 0.8794 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/0.9974, allocations: 3.344 kB / 0.8794 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001028/0.9984, allocations: 0.4951 MB / 0.8799 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.9984, allocations: 12.94 kB / 0.8799 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.9984, allocations: 8.766 kB / 0.8799 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.9985, allocations: 11.28 kB / 0.8799 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.9988, allocations: 95.62 kB / 0.88 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/0.9988, allocations: 18.05 kB / 0.88 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/0.9996, allocations: 122.8 kB / 0.8802 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/0.9996, allocations: 24.89 kB / 0.8802 GB, free: 15.68 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.000287/0.9999, allocations: 234.3 kB / 0.8804 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/1, allocations: 77.06 kB / 0.8805 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/1, allocations: 71.17 kB / 0.8806 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1, allocations: 1.969 kB / 0.8806 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1, allocations: 5.094 kB / 0.8806 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1, allocations: 3.188 kB / 0.8806 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/1.002, allocations: 1.118 MB / 0.8817 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.002, allocations: 2.875 kB / 0.8817 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.721e-05/1.002, allocations: 25.56 kB / 0.8817 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.002, allocations: 3.188 kB / 0.8817 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/1.002, allocations: 3.281 kB / 0.8817 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/1.002, allocations: 4.781 kB / 0.8817 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.002, allocations: 4.672 kB / 0.8817 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/1.002, allocations: 269.6 kB / 0.882 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/1.002, allocations: 180.8 kB / 0.8821 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/1.003, allocations: 4.188 kB / 0.8821 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/1.003, allocations: 18.83 kB / 0.8822 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/1.003, allocations: 15.64 kB / 0.8822 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/1.003, allocations: 5.219 kB / 0.8822 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009998/1.004, allocations: 0.5863 MB / 0.8827 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.41e-07/1.004, allocations: 1.25 kB / 0.8827 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007068/1.005, allocations: 159.8 kB / 0.8829 GB, free: 14.4 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.0009655/1.006, allocations: 0.8967 MB / 0.8838 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005844/1.006, allocations: 241.7 kB / 0.884 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/1.006, allocations: 0.6562 kB / 0.884 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 8.319e-05/1.006, allocations: 56.09 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.001739/1.008, allocations: 381.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.007454/1.016, allocations: 5.47 MB / 0.8898 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/1.016, allocations: 0.9342 MB / 0.8907 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005551/1.017, allocations: 145.6 kB / 0.8908 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/1.017, allocations: 230.4 kB / 0.891 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of SimCode: time 4.81e-07/1.017, allocations: 0 / 0.891 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/1.055, allocations: 17.97 MB / 0.9086 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.404/9.458, allocations: 10.06 kB / 0.9086 GB, free: 9.379 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)