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.005239/0.005239, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001558/0.001558, allocations: 196.7 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.781/0.781, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 63.48 kB / 0.5809 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1524, allocations: 80.2 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5345/0.6869, allocations: 170.8 MB / 0.826 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004993/0.692, allocations: 3.376 MB / 0.8292 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006523/0.6926, allocations: 22.81 kB / 0.8293 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008567/0.6935, allocations: 313.9 kB / 0.8296 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.6958, allocations: 1.011 MB / 0.8306 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.6973, allocations: 0.669 MB / 0.8312 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001571/0.6989, allocations: 1.522 MB / 0.8327 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006065/0.6995, allocations: 484.2 kB / 0.8332 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007435/0.7002, allocations: 0.5654 MB / 0.8337 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000945/0.7012, allocations: 475.2 kB / 0.8342 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.7013, allocations: 54.12 kB / 0.8342 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.7027, allocations: 0.8289 MB / 0.835 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.703, allocations: 241.1 kB / 0.8353 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003522/0.7033, allocations: 333.7 kB / 0.8356 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.7048, allocations: 1.144 MB / 0.8367 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.7048, allocations: 0 / 0.8367 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7048, allocations: 5 kB / 0.8367 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.7048, allocations: 0 / 0.8367 GB, free: 2.668 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.001265/0.7061, allocations: 0.9315 MB / 0.8376 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.7061, allocations: 9.5 kB / 0.8376 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.686e-05/0.7062, allocations: 85.75 kB / 0.8377 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.7074, allocations: 177.5 kB / 0.8379 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/0.7081, allocations: 0.5295 MB / 0.8384 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.7081, allocations: 35.14 kB / 0.8384 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.408e-05/0.7082, allocations: 39.69 kB / 0.8385 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.7089, allocations: 478.2 kB / 0.8389 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.7089, allocations: 0.8438 kB / 0.8389 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.709, allocations: 18.97 kB / 0.8389 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.709, allocations: 15.5 kB / 0.8389 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005725/0.7096, allocations: 420.3 kB / 0.8393 GB, free: 1.695 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.002051/0.7117, allocations: 1.718 MB / 0.841 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.7121, allocations: 314.3 kB / 0.8413 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.7123, allocations: 180.4 kB / 0.8415 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.7126, allocations: 102.2 kB / 0.8416 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.7126, allocations: 37.78 kB / 0.8416 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.7126, allocations: 0.7812 kB / 0.8416 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.001714/0.7143, allocations: 1.058 MB / 0.8427 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.7144, allocations: 54.47 kB / 0.8427 GB, free: 16.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.7148, allocations: 461.1 kB / 0.8432 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.7149, allocations: 36.39 kB / 0.8432 GB, free: 16.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.715, allocations: 249.8 kB / 0.8434 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.7151, allocations: 120.9 kB / 0.8435 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.7152, allocations: 75.7 kB / 0.8436 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.7154, allocations: 355 kB / 0.844 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.7155, allocations: 127.4 kB / 0.8441 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.7158, allocations: 199.6 kB / 0.8443 GB, free: 15.57 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.001636/0.7174, allocations: 0.851 MB / 0.8451 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7174, allocations: 0 / 0.8451 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000523/0.7179, allocations: 410.1 kB / 0.8455 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.718, allocations: 5.875 kB / 0.8455 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.718, allocations: 2.469 kB / 0.8455 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.718, allocations: 9.922 kB / 0.8455 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.7183, allocations: 72.47 kB / 0.8456 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.7183, allocations: 5.406 kB / 0.8456 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.7187, allocations: 24.33 kB / 0.8456 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.7187, allocations: 10.47 kB / 0.8456 GB, free: 15.34 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.0002308/0.7189, allocations: 211.3 kB / 0.8458 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.857e-05/0.719, allocations: 51.28 kB / 0.8459 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.7191, allocations: 63.02 kB / 0.8459 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.7191, allocations: 3.188 kB / 0.8459 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.7192, allocations: 2.531 kB / 0.8459 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004691/0.7196, allocations: 412.5 kB / 0.8463 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.7211, allocations: 1.242 MB / 0.8475 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.7211, allocations: 6.375 kB / 0.8475 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.7215, allocations: 74.09 kB / 0.8476 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.7215, allocations: 8.75 kB / 0.8476 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.7215, allocations: 15.69 kB / 0.8476 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.7215, allocations: 8.234 kB / 0.8476 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7215, allocations: 12.38 kB / 0.8477 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007693/0.7223, allocations: 0.7189 MB / 0.8484 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.7225, allocations: 172.1 kB / 0.8485 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.968e-05/0.7226, allocations: 20.64 kB / 0.8485 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.723, allocations: 18.66 kB / 0.8486 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.723, allocations: 32.14 kB / 0.8486 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.7231, allocations: 22.97 kB / 0.8486 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003113/0.7234, allocations: 334 kB / 0.8489 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.81e-07/0.7234, allocations: 0 / 0.8489 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004982/0.7239, allocations: 144.8 kB / 0.8491 GB, free: 14.07 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.001398/0.7253, allocations: 1.326 MB / 0.8504 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004711/0.7258, allocations: 335.7 kB / 0.8507 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7258, allocations: 0.8438 kB / 0.8507 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.726, allocations: 166.5 kB / 0.8508 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.7276, allocations: 370.2 kB / 0.8512 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/0.7323, allocations: 4.404 MB / 0.8555 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.7328, allocations: 0.8807 MB / 0.8564 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004114/0.7332, allocations: 130.1 kB / 0.8565 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.7334, allocations: 171.7 kB / 0.8566 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of SimCode: time 4.7e-07/0.7334, allocations: 0 / 0.8566 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03878/0.7722, allocations: 15.5 MB / 0.8718 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/9.115, allocations: 33.11 kB / 0.8718 GB, free: 8.23 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)