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.00155/0.00155, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7609/0.7609, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 71.55 kB / 0.5019 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3687, allocations: 80.2 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1914/0.5602, allocations: 187.1 MB / 0.7629 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01486/0.5751, allocations: 13.03 MB / 0.7756 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.5761, allocations: 31.81 kB / 0.7756 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.5774, allocations: 417.3 kB / 0.776 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.5796, allocations: 0.9136 MB / 0.7769 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.5814, allocations: 0.7093 MB / 0.7776 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001909/0.5834, allocations: 1.485 MB / 0.7791 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009349/0.5843, allocations: 0.6624 MB / 0.7797 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003337/0.5877, allocations: 1.716 MB / 0.7814 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.5888, allocations: 0.4953 MB / 0.7819 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.589, allocations: 52 kB / 0.7819 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.5905, allocations: 0.877 MB / 0.7828 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.5908, allocations: 275.2 kB / 0.783 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005259/0.5914, allocations: 386 kB / 0.7834 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.593, allocations: 1.164 MB / 0.7845 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5931, allocations: 0 / 0.7845 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5931, allocations: 0 / 0.7845 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.714e-05/0.5931, allocations: 0 / 0.7845 GB, free: 15.56 MB / 0.6231 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.001526/0.5946, allocations: 1.048 MB / 0.7856 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.5947, allocations: 12.03 kB / 0.7856 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.5948, allocations: 98.52 kB / 0.7857 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009768/0.5958, allocations: 202.7 kB / 0.7859 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007934/0.5966, allocations: 0.5207 MB / 0.7864 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003591/0.597, allocations: 97.25 kB / 0.7865 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.597, allocations: 60 kB / 0.7865 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.5981, allocations: 0.7828 MB / 0.7873 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.5982, allocations: 7.938 kB / 0.7873 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.5982, allocations: 24 kB / 0.7873 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.5983, allocations: 21 kB / 0.7873 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009667/0.5992, allocations: 474.7 kB / 0.7878 GB, free: 12.03 MB / 0.6231 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.003732/0.603, allocations: 4.406 MB / 0.7921 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.6031, allocations: 98.55 kB / 0.7922 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.6032, allocations: 87.33 kB / 0.7923 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.6034, allocations: 93.09 kB / 0.7924 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.6034, allocations: 34.56 kB / 0.7924 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 2.385e-06/0.6034, allocations: 4 kB / 0.7924 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0006425/0.6041, allocations: 244.5 kB / 0.7926 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.6042, allocations: 132.5 kB / 0.7928 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.6053, allocations: 0.8527 MB / 0.7936 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.6053, allocations: 29.7 kB / 0.7936 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.6056, allocations: 398.9 kB / 0.794 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.6056, allocations: 43.45 kB / 0.794 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.6058, allocations: 89.88 kB / 0.7941 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.6059, allocations: 326 kB / 0.7944 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.6062, allocations: 112.7 kB / 0.7945 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.6067, allocations: 370.9 kB / 0.7949 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/0.6072, allocations: 449.8 kB / 0.7953 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.6072, allocations: 0 / 0.7953 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009819/0.6082, allocations: 0.5047 MB / 0.7958 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.6083, allocations: 11.94 kB / 0.7958 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.6083, allocations: 8 kB / 0.7958 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.6083, allocations: 12.03 kB / 0.7959 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.6087, allocations: 107.8 kB / 0.796 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.6087, allocations: 8 kB / 0.796 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/0.6094, allocations: 134.4 kB / 0.7961 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.6094, allocations: 20 kB / 0.7961 GB, free: 2.902 MB / 0.6231 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.0002329/0.6097, allocations: 227.2 kB / 0.7963 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.6098, allocations: 86.98 kB / 0.7964 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.64e-05/0.6099, allocations: 62.19 kB / 0.7965 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.6099, allocations: 11.92 kB / 0.7965 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.6099, allocations: 0 / 0.7965 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.61, allocations: 4 kB / 0.7965 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.6112, allocations: 1.12 MB / 0.7976 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.6112, allocations: 4 kB / 0.7976 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.25e-05/0.6113, allocations: 16.31 kB / 0.7976 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6113, allocations: 4 kB / 0.7976 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.6113, allocations: 4 kB / 0.7976 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.6113, allocations: 12.05 kB / 0.7976 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6113, allocations: 8 kB / 0.7976 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.6116, allocations: 259.8 kB / 0.7979 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.6118, allocations: 172.1 kB / 0.798 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-05/0.6119, allocations: 4 kB / 0.798 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.6123, allocations: 23.97 kB / 0.7981 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.6123, allocations: 15.88 kB / 0.7981 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.6123, allocations: 4 kB / 0.7981 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007877/0.6131, allocations: 0.5966 MB / 0.7987 GB, free: 128 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6131, allocations: 0 / 0.7987 GB, free: 128 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005499/0.6137, allocations: 151.9 kB / 0.7988 GB, free: 15.97 MB / 0.6387 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.0007743/0.6144, allocations: 0.8834 MB / 0.7997 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005354/0.615, allocations: 244.9 kB / 0.7999 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.615, allocations: 4.5 kB / 0.7999 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.736e-05/0.6151, allocations: 51.84 kB / 0.8 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.6167, allocations: 375.2 kB / 0.8003 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006834/0.6235, allocations: 5.732 MB / 0.8059 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.624, allocations: 0.937 MB / 0.8068 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004949/0.6245, allocations: 146.1 kB / 0.807 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.6247, allocations: 227.4 kB / 0.8072 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.6248, allocations: 0 / 0.8072 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2502/0.875, allocations: 17.81 MB / 0.8246 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/8.573, allocations: 13.14 kB / 0.8246 GB, free: 218.4 MB / 0.6387 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)