Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumeMassFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_dev_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.008755/0.008755, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001984/0.001984, allocations: 188.6 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9646/0.9646, allocations: 135.1 MB / 425.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.91 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4547, allocations: 80.92 MB / 0.6642 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1989/0.6537, allocations: 170.8 MB / 0.8309 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006393/0.6601, allocations: 3.375 MB / 0.8342 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009436/0.6611, allocations: 23.81 kB / 0.8342 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.6623, allocations: 318.1 kB / 0.8345 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.6655, allocations: 1.011 MB / 0.8355 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.6674, allocations: 0.6693 MB / 0.8362 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.6695, allocations: 1.525 MB / 0.8377 GB, free: 15.25 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007065/0.6702, allocations: 481.4 kB / 0.8381 GB, free: 14.78 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.6713, allocations: 0.572 MB / 0.8387 GB, free: 14.2 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.6724, allocations: 476.6 kB / 0.8391 GB, free: 13.74 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.106e-05/0.6725, allocations: 56 kB / 0.8392 GB, free: 13.69 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.6741, allocations: 0.8302 MB / 0.84 GB, free: 12.86 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002567/0.6743, allocations: 243.4 kB / 0.8402 GB, free: 12.62 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.6747, allocations: 338.5 kB / 0.8406 GB, free: 12.29 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.6763, allocations: 1.134 MB / 0.8417 GB, free: 11.15 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6763, allocations: 0 / 0.8417 GB, free: 11.15 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.076e-06/0.6763, allocations: 0 / 0.8417 GB, free: 11.15 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.6763, allocations: 3.938 kB / 0.8417 GB, free: 11.14 MB / 0.67 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.001444/0.6777, allocations: 0.9038 MB / 0.8426 GB, free: 10.19 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.6778, allocations: 8.031 kB / 0.8426 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.6779, allocations: 90.45 kB / 0.8427 GB, free: 10.09 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.6791, allocations: 179 kB / 0.8428 GB, free: 9.91 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009039/0.68, allocations: 0.5208 MB / 0.8433 GB, free: 9.352 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.68, allocations: 33 kB / 0.8434 GB, free: 9.32 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.689e-05/0.6801, allocations: 47.94 kB / 0.8434 GB, free: 9.273 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007846/0.6809, allocations: 470.4 kB / 0.8439 GB, free: 8.809 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.6809, allocations: 0 / 0.8439 GB, free: 8.809 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.662e-05/0.681, allocations: 27.98 kB / 0.8439 GB, free: 8.781 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.681, allocations: 13 kB / 0.8439 GB, free: 8.77 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006317/0.6817, allocations: 407.8 kB / 0.8443 GB, free: 8.371 MB / 0.67 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.00279/0.6845, allocations: 1.728 MB / 0.846 GB, free: 6.512 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.685, allocations: 304.2 kB / 0.8463 GB, free: 6.207 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.6852, allocations: 181.3 kB / 0.8464 GB, free: 6.027 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.6854, allocations: 93.09 kB / 0.8465 GB, free: 5.918 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.6855, allocations: 42.55 kB / 0.8466 GB, free: 5.867 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.745e-06/0.6855, allocations: 3.938 kB / 0.8466 GB, free: 5.863 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002268/0.6878, allocations: 1.054 MB / 0.8476 GB, free: 4.758 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.6878, allocations: 59.41 kB / 0.8477 GB, free: 4.688 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000519/0.6884, allocations: 449.9 kB / 0.8481 GB, free: 4.234 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.6884, allocations: 37.64 kB / 0.8481 GB, free: 4.191 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.6886, allocations: 260 kB / 0.8484 GB, free: 3.934 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.6887, allocations: 118.3 kB / 0.8485 GB, free: 3.816 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.6889, allocations: 69.61 kB / 0.8485 GB, free: 3.742 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.689, allocations: 362.7 kB / 0.8489 GB, free: 3.379 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.6892, allocations: 127.9 kB / 0.849 GB, free: 3.254 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.6895, allocations: 194.8 kB / 0.8492 GB, free: 3.039 MB / 0.67 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.001917/0.6914, allocations: 0.8524 MB / 0.85 GB, free: 2.152 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6914, allocations: 0 / 0.85 GB, free: 2.152 MB / 0.67 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006377/0.6921, allocations: 421.6 kB / 0.8504 GB, free: 1.734 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.6921, allocations: 4 kB / 0.8504 GB, free: 1.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.6921, allocations: 4 kB / 0.8504 GB, free: 1.727 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.6922, allocations: 4 kB / 0.8504 GB, free: 1.723 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.6925, allocations: 75.91 kB / 0.8505 GB, free: 1.648 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.6925, allocations: 0 / 0.8505 GB, free: 1.648 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.6929, allocations: 14.06 kB / 0.8505 GB, free: 1.637 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.693, allocations: 16.17 kB / 0.8505 GB, free: 1.621 MB / 0.67 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.000289/0.6933, allocations: 221.6 kB / 0.8508 GB, free: 1.395 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.6934, allocations: 47.44 kB / 0.8508 GB, free: 1.348 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.6935, allocations: 56.77 kB / 0.8509 GB, free: 1.293 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.6935, allocations: 4 kB / 0.8509 GB, free: 1.289 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.6935, allocations: 3.984 kB / 0.8509 GB, free: 1.285 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005088/0.694, allocations: 409.1 kB / 0.8513 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.696, allocations: 1.245 MB / 0.8525 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/0.696, allocations: 4 kB / 0.8525 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.6964, allocations: 75.89 kB / 0.8525 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.6964, allocations: 4 kB / 0.8526 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.6964, allocations: 16 kB / 0.8526 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.6965, allocations: 4.5 kB / 0.8526 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.6965, allocations: 7.938 kB / 0.8526 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009058/0.6974, allocations: 0.7346 MB / 0.8533 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.6977, allocations: 168.5 kB / 0.8535 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.161e-05/0.6978, allocations: 15.98 kB / 0.8535 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.6982, allocations: 17.44 kB / 0.8535 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.6982, allocations: 31.84 kB / 0.8535 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.6983, allocations: 28.05 kB / 0.8535 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003674/0.6987, allocations: 331.1 kB / 0.8539 GB, free: 14 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6987, allocations: 3.938 kB / 0.8539 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006102/0.6993, allocations: 136 kB / 0.854 GB, free: 13.86 MB / 0.6856 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.001459/0.7008, allocations: 1.325 MB / 0.8553 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006123/0.7014, allocations: 332.5 kB / 0.8556 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7014, allocations: 0 / 0.8556 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.7016, allocations: 163.7 kB / 0.8558 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.7035, allocations: 368.7 kB / 0.8561 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005804/0.7093, allocations: 4.389 MB / 0.8604 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.7098, allocations: 0.8862 MB / 0.8613 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000512/0.7104, allocations: 128.6 kB / 0.8614 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.7106, allocations: 163.4 kB / 0.8615 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of SimCode: time 8.42e-07/0.7106, allocations: 0 / 0.8615 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3957/1.106, allocations: 15.75 MB / 0.8769 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/9.297, allocations: 14.14 kB / 0.8769 GB, free: 189.9 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)