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.004145/0.004145, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001205/0.001205, allocations: 196 kB / 16.68 MB, free: 6.352 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7843/0.7843, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 71.88 kB / 0.5809 GB, free: 8.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3513, allocations: 80.2 MB / 0.6592 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2044/0.5558, allocations: 187.1 MB / 0.8419 GB, free: 10.43 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0161/0.572, allocations: 13.02 MB / 0.8546 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000868/0.5729, allocations: 35.81 kB / 0.8547 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.5742, allocations: 405.3 kB / 0.855 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.5764, allocations: 0.9214 MB / 0.8559 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.5782, allocations: 0.7033 MB / 0.8566 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002026/0.5803, allocations: 1.503 MB / 0.8581 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009918/0.5813, allocations: 0.6556 MB / 0.8587 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003526/0.5848, allocations: 1.712 MB / 0.8604 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.5861, allocations: 0.5102 MB / 0.8609 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.5863, allocations: 52 kB / 0.861 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.5879, allocations: 0.8692 MB / 0.8618 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.5882, allocations: 283.2 kB / 0.8621 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004438/0.5887, allocations: 382 kB / 0.8624 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.5903, allocations: 1.187 MB / 0.8636 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5903, allocations: 0 / 0.8636 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5904, allocations: 0 / 0.8636 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.5904, allocations: 0 / 0.8636 GB, free: 4.152 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.001457/0.5918, allocations: 1.081 MB / 0.8647 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.5919, allocations: 11.97 kB / 0.8647 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.592, allocations: 98.52 kB / 0.8648 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009079/0.5929, allocations: 199.3 kB / 0.865 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000843/0.5938, allocations: 0.5524 MB / 0.8655 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.5938, allocations: 45.31 kB / 0.8655 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/0.5939, allocations: 59.94 kB / 0.8656 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.5951, allocations: 0.7827 MB / 0.8664 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.5951, allocations: 4 kB / 0.8664 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.5952, allocations: 32 kB / 0.8664 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.5953, allocations: 28.98 kB / 0.8664 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000939/0.5962, allocations: 459.2 kB / 0.8669 GB, free: 0.6094 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.2902/0.8864, allocations: 4.372 MB / 0.8711 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.8866, allocations: 108.2 kB / 0.8712 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.8868, allocations: 73.72 kB / 0.8713 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.8869, allocations: 96.06 kB / 0.8714 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.887, allocations: 37.12 kB / 0.8714 GB, free: 194.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 3.557e-06/0.887, allocations: 4.656 kB / 0.8714 GB, free: 194.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0008828/0.8879, allocations: 245.6 kB / 0.8717 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.8879, allocations: 138.8 kB / 0.8718 GB, free: 194 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.8894, allocations: 0.841 MB / 0.8726 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.8895, allocations: 31.8 kB / 0.8727 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.8898, allocations: 409.5 kB / 0.873 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.8899, allocations: 46.77 kB / 0.8731 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.89, allocations: 89.75 kB / 0.8732 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.8901, allocations: 322.2 kB / 0.8735 GB, free: 193 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.8905, allocations: 110.4 kB / 0.8736 GB, free: 193 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/0.891, allocations: 368 kB / 0.8739 GB, free: 192.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.8915, allocations: 440.6 kB / 0.8744 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.8915, allocations: 5.141 kB / 0.8744 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009158/0.8924, allocations: 0.4921 MB / 0.8748 GB, free: 192 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.8925, allocations: 9.453 kB / 0.8748 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.8925, allocations: 7.531 kB / 0.8749 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.8925, allocations: 11.84 kB / 0.8749 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.8929, allocations: 100.2 kB / 0.875 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.8929, allocations: 20.16 kB / 0.875 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006219/0.8935, allocations: 114.1 kB / 0.8751 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.8936, allocations: 25.73 kB / 0.8751 GB, free: 192 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.0002128/0.8938, allocations: 231.4 kB / 0.8753 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.8939, allocations: 75.69 kB / 0.8754 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.894, allocations: 69.48 kB / 0.8755 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.894, allocations: 2 kB / 0.8755 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8941, allocations: 6.938 kB / 0.8755 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.8941, allocations: 1.453 kB / 0.8755 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.8952, allocations: 1.121 MB / 0.8766 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.8953, allocations: 2.375 kB / 0.8766 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.143e-05/0.8954, allocations: 24.64 kB / 0.8766 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.8954, allocations: 5.719 kB / 0.8766 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.8954, allocations: 3.719 kB / 0.8766 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.8954, allocations: 7.594 kB / 0.8766 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.8954, allocations: 8 kB / 0.8766 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.8957, allocations: 272.5 kB / 0.8769 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.8958, allocations: 174.7 kB / 0.8771 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.274e-05/0.8959, allocations: 9.625 kB / 0.8771 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.8962, allocations: 17.17 kB / 0.8771 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.8963, allocations: 19.53 kB / 0.8771 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.8963, allocations: 5.469 kB / 0.8771 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007936/0.8971, allocations: 0.5871 MB / 0.8777 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8971, allocations: 0 / 0.8777 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005698/0.8977, allocations: 155.9 kB / 0.8778 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.0007026/0.8984, allocations: 0.8878 MB / 0.8787 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005159/0.8989, allocations: 246.9 kB / 0.8789 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8989, allocations: 0 / 0.8789 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 6.8e-05/0.899, allocations: 53.8 kB / 0.879 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.9006, allocations: 376.4 kB / 0.8793 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006348/0.9069, allocations: 5.472 MB / 0.8847 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.9072, allocations: 0.9353 MB / 0.8856 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004281/0.9077, allocations: 145.8 kB / 0.8857 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.9079, allocations: 229.5 kB / 0.886 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of SimCode: time 5.21e-07/0.9079, allocations: 0 / 0.886 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/0.9472, allocations: 17.98 MB / 0.9035 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.813/9.76, allocations: 18.14 kB / 0.9035 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)