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.01052/0.01052, allocations: 102.3 kB / 15.73 MB, free: 6.016 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.002088/0.002089, allocations: 191.5 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.308/2.308, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.238/1.238, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 67.5 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3187, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 1.093/1.412, allocations: 170.8 MB / 0.8259 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006859/1.419, allocations: 3.384 MB / 0.8292 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/1.421, allocations: 21.69 kB / 0.8293 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001661/1.422, allocations: 309.2 kB / 0.8296 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005232/1.428, allocations: 1.014 MB / 0.8306 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002924/1.43, allocations: 0.6647 MB / 0.8312 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004091/1.435, allocations: 1.523 MB / 0.8327 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/1.436, allocations: 487.7 kB / 0.8332 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/1.439, allocations: 0.5791 MB / 0.8337 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002492/1.441, allocations: 469.9 kB / 0.8342 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002431/1.442, allocations: 55.23 kB / 0.8342 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003579/1.445, allocations: 0.8289 MB / 0.835 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000659/1.446, allocations: 240.2 kB / 0.8353 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/1.447, allocations: 339.6 kB / 0.8356 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004047/1.451, allocations: 1.13 MB / 0.8367 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/1.451, allocations: 1.375 kB / 0.8367 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.356e-06/1.451, allocations: 2.172 kB / 0.8367 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.663e-05/1.451, allocations: 0 / 0.8367 GB, free: 2.633 MB / 0.6387 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.002797/1.454, allocations: 0.9147 MB / 0.8376 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.449e-05/1.454, allocations: 9.469 kB / 0.8376 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001718/1.454, allocations: 83.95 kB / 0.8377 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/1.456, allocations: 182.9 kB / 0.8378 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/1.458, allocations: 0.5156 MB / 0.8384 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-05/1.458, allocations: 32.53 kB / 0.8384 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/1.458, allocations: 46.72 kB / 0.8384 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/1.46, allocations: 478.1 kB / 0.8389 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/1.46, allocations: 1.062 kB / 0.8389 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.17e-05/1.46, allocations: 17.66 kB / 0.8389 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.543e-05/1.46, allocations: 20.56 kB / 0.8389 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/1.461, allocations: 408.7 kB / 0.8393 GB, free: 1.688 MB / 0.6387 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.004894/1.466, allocations: 1.72 MB / 0.841 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007874/1.467, allocations: 314.4 kB / 0.8413 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004521/1.467, allocations: 181.5 kB / 0.8415 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004253/1.468, allocations: 97.89 kB / 0.8416 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/1.468, allocations: 43.47 kB / 0.8416 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 4.869e-06/1.468, allocations: 0.8125 kB / 0.8416 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.003856/1.472, allocations: 1.049 MB / 0.8426 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.556e-05/1.472, allocations: 55.56 kB / 0.8427 GB, free: 16.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009732/1.473, allocations: 457.3 kB / 0.8431 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.092e-05/1.473, allocations: 35.98 kB / 0.8431 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000325/1.473, allocations: 254.5 kB / 0.8434 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/1.474, allocations: 115.8 kB / 0.8435 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/1.474, allocations: 73 kB / 0.8436 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0003047/1.474, allocations: 355.3 kB / 0.8439 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/1.475, allocations: 130.4 kB / 0.844 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/1.475, allocations: 195.8 kB / 0.8442 GB, free: 15.58 MB / 0.6544 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.003229/1.478, allocations: 0.8495 MB / 0.845 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.478, allocations: 0 / 0.845 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001096/1.479, allocations: 411.2 kB / 0.8454 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/1.479, allocations: 8.656 kB / 0.8454 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/1.479, allocations: 4.422 kB / 0.8455 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.554e-05/1.479, allocations: 9.031 kB / 0.8455 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/1.48, allocations: 70.33 kB / 0.8455 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/1.48, allocations: 7.469 kB / 0.8455 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007616/1.481, allocations: 14.41 kB / 0.8455 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/1.481, allocations: 11.62 kB / 0.8456 GB, free: 15.36 MB / 0.6544 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.0004733/1.481, allocations: 214.8 kB / 0.8458 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/1.482, allocations: 49.84 kB / 0.8458 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/1.482, allocations: 62.95 kB / 0.8459 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/1.482, allocations: 4.438 kB / 0.8459 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/1.482, allocations: 0 / 0.8459 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008648/1.483, allocations: 413 kB / 0.8463 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/1.486, allocations: 1.242 MB / 0.8475 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/1.486, allocations: 5.062 kB / 0.8475 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006363/1.487, allocations: 79.58 kB / 0.8476 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.661e-05/1.487, allocations: 7.344 kB / 0.8476 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/1.487, allocations: 16.14 kB / 0.8476 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/1.487, allocations: 4.719 kB / 0.8476 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/1.487, allocations: 10.47 kB / 0.8476 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/1.488, allocations: 0.7204 MB / 0.8483 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/1.489, allocations: 171 kB / 0.8485 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/1.489, allocations: 13.31 kB / 0.8485 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/1.489, allocations: 29.69 kB / 0.8485 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/1.489, allocations: 34.19 kB / 0.8485 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/1.489, allocations: 20.09 kB / 0.8486 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006069/1.49, allocations: 327.9 kB / 0.8489 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.31e-07/1.49, allocations: 1 kB / 0.8489 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009784/1.491, allocations: 141.6 kB / 0.849 GB, free: 14.1 MB / 0.6544 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.002404/1.494, allocations: 1.328 MB / 0.8503 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008251/1.494, allocations: 329.5 kB / 0.8506 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.494, allocations: 1.062 kB / 0.8506 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003096/1.495, allocations: 168.1 kB / 0.8508 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/1.497, allocations: 365.5 kB / 0.8511 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006775/1.504, allocations: 4.387 MB / 0.8554 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/1.504, allocations: 0.8847 MB / 0.8563 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006167/1.505, allocations: 133.3 kB / 0.8564 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/1.505, allocations: 168.9 kB / 0.8566 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of SimCode: time 1.844e-06/1.505, allocations: 0 / 0.8566 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0497/1.555, allocations: 15.74 MB / 0.8719 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/15.1, allocations: 18.78 kB / 0.872 GB, free: 8.105 MB / 0.6544 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)