Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.007156/0.007156, allocations: 99.45 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.001816/0.001816, allocations: 192.2 kB / 16.67 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7356/0.7356, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 62.62 kB / 0.5809 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1322, allocations: 80.22 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4759/0.6081, allocations: 170.8 MB / 0.826 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005224/0.6134, allocations: 3.37 MB / 0.8293 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005255/0.6139, allocations: 20.78 kB / 0.8293 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008268/0.6148, allocations: 325.9 kB / 0.8296 GB, free: 276 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.6169, allocations: 1.058 MB / 0.8306 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.6184, allocations: 0.6651 MB / 0.8313 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.6198, allocations: 1.536 MB / 0.8328 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005196/0.6203, allocations: 469.8 kB / 0.8332 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007202/0.6211, allocations: 0.5971 MB / 0.8338 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008534/0.6219, allocations: 460 kB / 0.8342 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.439e-05/0.622, allocations: 59.36 kB / 0.8343 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.6233, allocations: 0.8409 MB / 0.8351 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.6235, allocations: 241.3 kB / 0.8353 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.6238, allocations: 332 kB / 0.8357 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.625, allocations: 1.136 MB / 0.8368 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6251, allocations: 0 / 0.8368 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6251, allocations: 1.969 kB / 0.8368 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.6251, allocations: 4 kB / 0.8368 GB, free: 11.63 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001243/0.6263, allocations: 0.9313 MB / 0.8377 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.6264, allocations: 10.56 kB / 0.8377 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.601e-05/0.6265, allocations: 81.66 kB / 0.8378 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.6276, allocations: 179 kB / 0.8379 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007679/0.6284, allocations: 0.5291 MB / 0.8385 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.6284, allocations: 34.41 kB / 0.8385 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.62e-05/0.6285, allocations: 39.38 kB / 0.8385 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/0.6292, allocations: 474.8 kB / 0.839 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.6292, allocations: 1.312 kB / 0.839 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.6293, allocations: 20.94 kB / 0.839 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.6293, allocations: 15.59 kB / 0.839 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005999/0.6299, allocations: 415.1 kB / 0.8394 GB, free: 9.75 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.002277/0.6322, allocations: 1.728 MB / 0.8411 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.6326, allocations: 316 kB / 0.8414 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.6329, allocations: 179.5 kB / 0.8416 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.633, allocations: 95.91 kB / 0.8417 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.6331, allocations: 45.5 kB / 0.8417 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.6331, allocations: 0 / 0.8417 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001754/0.6348, allocations: 1.061 MB / 0.8427 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.6349, allocations: 56.47 kB / 0.8428 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.6353, allocations: 455.5 kB / 0.8432 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.6354, allocations: 36.11 kB / 0.8433 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.6355, allocations: 256.4 kB / 0.8435 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.77e-05/0.6356, allocations: 119.8 kB / 0.8436 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.6357, allocations: 71.19 kB / 0.8437 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6359, allocations: 353.4 kB / 0.844 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.6361, allocations: 129 kB / 0.8442 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.6363, allocations: 201.8 kB / 0.8443 GB, free: 5.887 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.6381, allocations: 0.8596 MB / 0.8452 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6381, allocations: 2.688 kB / 0.8452 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000543/0.6386, allocations: 414 kB / 0.8456 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.6386, allocations: 6.969 kB / 0.8456 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6386, allocations: 6.484 kB / 0.8456 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.6387, allocations: 2.406 kB / 0.8456 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.639, allocations: 71.36 kB / 0.8457 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.639, allocations: 10.77 kB / 0.8457 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.6394, allocations: 11.5 kB / 0.8457 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.6394, allocations: 14.06 kB / 0.8457 GB, free: 5.113 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002134/0.6396, allocations: 210.2 kB / 0.8459 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/0.6397, allocations: 57.94 kB / 0.846 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.943e-05/0.6398, allocations: 55.42 kB / 0.846 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6398, allocations: 3.031 kB / 0.846 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6398, allocations: 2.719 kB / 0.846 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004419/0.6403, allocations: 415.6 kB / 0.8464 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.6419, allocations: 1.244 MB / 0.8476 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6419, allocations: 4.844 kB / 0.8476 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.6423, allocations: 70.44 kB / 0.8477 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.6423, allocations: 11.41 kB / 0.8477 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.6423, allocations: 12.91 kB / 0.8477 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.535e-06/0.6423, allocations: 15.73 kB / 0.8477 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6423, allocations: 2.156 kB / 0.8477 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007726/0.6431, allocations: 0.7365 MB / 0.8485 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.6434, allocations: 169.4 kB / 0.8486 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/0.6434, allocations: 15.88 kB / 0.8486 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.6439, allocations: 22.98 kB / 0.8487 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.6439, allocations: 32.38 kB / 0.8487 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.6439, allocations: 19.22 kB / 0.8487 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003059/0.6443, allocations: 337.3 kB / 0.849 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6443, allocations: 0 / 0.849 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004781/0.6447, allocations: 140 kB / 0.8492 GB, free: 2.617 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * 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 (33): * Single equations (assignments): 33 * 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.001238/0.646, allocations: 1.321 MB / 0.8505 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004787/0.6465, allocations: 333.8 kB / 0.8508 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.6465, allocations: 2.094 kB / 0.8508 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.6467, allocations: 166.1 kB / 0.8509 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.6483, allocations: 368.7 kB / 0.8513 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004856/0.6532, allocations: 4.412 MB / 0.8556 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.6537, allocations: 0.8862 MB / 0.8565 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003834/0.654, allocations: 128.6 kB / 0.8566 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.6543, allocations: 171.4 kB / 0.8567 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.6543, allocations: 0 / 0.8567 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.6866, allocations: 15.5 MB / 0.8719 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.683, allocations: 22.17 kB / 0.8719 GB, free: 11.79 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)