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.00166/0.00166, allocations: 108 kB / 15.6 MB, free: 132 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.001952/0.001952, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.356/1.356, 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-master/package.mo): time 0.9191/0.9191, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.67 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1357, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.3967/0.5325, allocations: 187.1 MB / 0.7672 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01433/0.5468, allocations: 13 MB / 0.7799 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008752/0.5477, allocations: 35.75 kB / 0.7799 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.5489, allocations: 417.3 kB / 0.7803 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.5508, allocations: 0.9214 MB / 0.7812 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.5524, allocations: 0.6938 MB / 0.7819 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.5539, allocations: 1.498 MB / 0.7833 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007926/0.5547, allocations: 0.6617 MB / 0.784 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.5579, allocations: 1.712 MB / 0.7856 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.559, allocations: 0.5045 MB / 0.7861 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.39e-05/0.5591, allocations: 52 kB / 0.7862 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.5605, allocations: 0.8731 MB / 0.787 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.5608, allocations: 271.3 kB / 0.7873 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003555/0.5611, allocations: 398 kB / 0.7877 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.5624, allocations: 1.157 MB / 0.7888 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5625, allocations: 0 / 0.7888 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5625, allocations: 0 / 0.7888 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.5625, allocations: 0 / 0.7888 GB, free: 11.56 MB / 0.6075 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.001293/0.5638, allocations: 1.054 MB / 0.7898 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.5638, allocations: 8.031 kB / 0.7898 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.881e-05/0.5639, allocations: 102.5 kB / 0.7899 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009073/0.5648, allocations: 190.8 kB / 0.7901 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006831/0.5655, allocations: 0.5208 MB / 0.7906 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003594/0.5659, allocations: 97.25 kB / 0.7907 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.566, allocations: 60 kB / 0.7908 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.5671, allocations: 0.7906 MB / 0.7916 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.5671, allocations: 3.938 kB / 0.7916 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/0.5672, allocations: 24 kB / 0.7916 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.5672, allocations: 24.98 kB / 0.7916 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009311/0.5681, allocations: 471.3 kB / 0.7921 GB, free: 8.035 MB / 0.6075 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.003396/0.5716, allocations: 4.398 MB / 0.7963 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.5717, allocations: 106.4 kB / 0.7965 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.687e-05/0.5718, allocations: 75.52 kB / 0.7965 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.5719, allocations: 97.09 kB / 0.7966 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.572, allocations: 34.56 kB / 0.7966 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.735e-06/0.572, allocations: 7.984 kB / 0.7967 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006261/0.5726, allocations: 240.5 kB / 0.7969 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.5727, allocations: 128.5 kB / 0.797 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.5738, allocations: 0.8527 MB / 0.7978 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.5738, allocations: 33.7 kB / 0.7979 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.5741, allocations: 402.8 kB / 0.7983 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.5741, allocations: 47.39 kB / 0.7983 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.5742, allocations: 89.88 kB / 0.7984 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.5743, allocations: 326 kB / 0.7987 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.5746, allocations: 112.6 kB / 0.7988 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.5751, allocations: 370 kB / 0.7992 GB, free: 268 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.5757, allocations: 445.5 kB / 0.7996 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5757, allocations: 4 kB / 0.7996 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009756/0.5767, allocations: 0.5003 MB / 0.8001 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5767, allocations: 8.125 kB / 0.8001 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5767, allocations: 12 kB / 0.8001 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.5767, allocations: 12 kB / 0.8001 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.5771, allocations: 99.81 kB / 0.8002 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.5771, allocations: 15.88 kB / 0.8002 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006751/0.5778, allocations: 129 kB / 0.8003 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.5778, allocations: 20 kB / 0.8004 GB, free: 14.92 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.0002376/0.5781, allocations: 233.6 kB / 0.8006 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.5782, allocations: 75.06 kB / 0.8007 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.5784, allocations: 70.17 kB / 0.8007 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5784, allocations: 0 / 0.8007 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5784, allocations: 3.938 kB / 0.8007 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5784, allocations: 7.984 kB / 0.8007 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.5796, allocations: 1.113 MB / 0.8018 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5796, allocations: 4.312 kB / 0.8018 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.561e-05/0.5797, allocations: 27.94 kB / 0.8018 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5797, allocations: 0 / 0.8018 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.5798, allocations: 4 kB / 0.8019 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.5798, allocations: 4 kB / 0.8019 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.5798, allocations: 4 kB / 0.8019 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.58, allocations: 263.8 kB / 0.8021 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.5802, allocations: 172.6 kB / 0.8023 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/0.5803, allocations: 7.938 kB / 0.8023 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.5807, allocations: 23.97 kB / 0.8023 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.5807, allocations: 11.94 kB / 0.8023 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.5807, allocations: 8 kB / 0.8023 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007984/0.5815, allocations: 0.5928 MB / 0.8029 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.262e-06/0.5816, allocations: 3.938 kB / 0.8029 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005427/0.5821, allocations: 159.8 kB / 0.8031 GB, free: 11.99 MB / 0.6231 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.0007554/0.5829, allocations: 0.886 MB / 0.8039 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005158/0.5834, allocations: 245.3 kB / 0.8042 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5834, allocations: 192 / 0.8042 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.64e-05/0.5835, allocations: 51.86 kB / 0.8042 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.5851, allocations: 390.6 kB / 0.8046 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006856/0.592, allocations: 5.74 MB / 0.8102 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.5924, allocations: 0.9331 MB / 0.8111 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005274/0.593, allocations: 142.1 kB / 0.8112 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.5933, allocations: 231.4 kB / 0.8115 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.5933, allocations: 0 / 0.8115 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.6289, allocations: 17.82 MB / 0.8289 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/8.088, allocations: 4.641 kB / 0.8289 GB, free: 1.562 MB / 0.6387 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)