Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",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.006699/0.006699, 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.001617/0.001617, 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9654/0.9654, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.89 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4273, allocations: 80.91 MB / 0.6642 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6557/1.083, allocations: 242.4 MB / 0.9009 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02309/1.106, allocations: 15.88 MB / 0.9164 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004223/1.11, allocations: 75.75 kB / 0.9165 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003447/1.114, allocations: 1.182 MB / 0.9176 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/1.124, allocations: 3.813 MB / 0.9213 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004621/1.129, allocations: 1.813 MB / 0.9231 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006351/1.135, allocations: 5.247 MB / 0.9282 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00251/1.138, allocations: 1.674 MB / 0.9299 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005833/1.144, allocations: 2.642 MB / 0.9324 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003792/1.148, allocations: 1.703 MB / 0.9341 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004418/1.148, allocations: 176.3 kB / 0.9343 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005832/1.154, allocations: 2.705 MB / 0.9369 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001156/1.155, allocations: 0.765 MB / 0.9377 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002064/1.157, allocations: 1.152 MB / 0.9388 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006334/1.164, allocations: 3.568 MB / 0.9423 GB, free: 132 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.164, allocations: 0.9688 kB / 0.9423 GB, free: 132 kB / 0.6856 GB Notification: Performance of FrontEnd: time 2.765e-06/1.164, allocations: 0 / 0.9423 GB, free: 132 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.357e-05/1.164, allocations: 0 / 0.9423 GB, free: 132 kB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004826/1.169, allocations: 2.501 MB / 0.9447 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.169, allocations: 11.22 kB / 0.9447 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002595/1.169, allocations: 217.8 kB / 0.9449 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002934/1.172, allocations: 0.4996 MB / 0.9454 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/1.174, allocations: 1.365 MB / 0.9468 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/1.175, allocations: 186.5 kB / 0.9469 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/1.175, allocations: 148.7 kB / 0.9471 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002945/1.178, allocations: 1.734 MB / 0.9488 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/1.178, allocations: 5.562 kB / 0.9488 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/1.178, allocations: 64.72 kB / 0.9488 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-05/1.178, allocations: 62.36 kB / 0.9489 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/1.18, allocations: 1.371 MB / 0.9502 GB, free: 13.99 MB / 0.7012 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.009679/1.19, allocations: 8.188 MB / 0.9582 GB, free: 8.691 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/1.191, allocations: 0.9044 MB / 0.9591 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007679/1.192, allocations: 0.5319 MB / 0.9596 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000601/1.193, allocations: 323.7 kB / 0.9599 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/1.193, allocations: 49.28 kB / 0.96 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=96): time 3.006e-06/1.193, allocations: 0 / 0.96 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of matching and sorting (n=102): time 0.007052/1.2, allocations: 3.104 MB / 0.963 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/1.2, allocations: 67.19 kB / 0.9631 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/1.202, allocations: 1.268 MB / 0.9643 GB, free: 5.625 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.202, allocations: 49.83 kB / 0.9644 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006389/1.202, allocations: 0.8084 MB / 0.9652 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/1.203, allocations: 368.6 kB / 0.9655 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003637/1.203, allocations: 230.7 kB / 0.9657 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.203, allocations: 347.2 kB / 0.9661 GB, free: 4.094 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008988/1.204, allocations: 453.2 kB / 0.9665 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/1.205, allocations: 0.8252 MB / 0.9673 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/1.207, allocations: 1.245 MB / 0.9685 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/1.207, allocations: 5.031 kB / 0.9685 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002522/1.21, allocations: 1.403 MB / 0.9699 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.21, allocations: 8 kB / 0.9699 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/1.21, allocations: 8.844 kB / 0.9699 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/1.21, allocations: 20.56 kB / 0.9699 GB, free: 1.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.211, allocations: 270.7 kB / 0.9702 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-05/1.211, allocations: 26.61 kB / 0.9702 GB, free: 1.633 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/1.213, allocations: 73.62 kB / 0.9703 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/1.213, allocations: 54.22 kB / 0.9703 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001525/1.214, allocations: 0.7674 MB / 0.9711 GB, free: 1.141 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001185/1.215, allocations: 0.8245 MB / 0.9719 GB, free: 296 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00195/1.217, allocations: 1.229 MB / 0.9731 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.54e-05/1.217, allocations: 11.94 kB / 0.9731 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002684/1.22, allocations: 1.389 MB / 0.9745 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.22, allocations: 10.19 kB / 0.9745 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.22, allocations: 8 kB / 0.9745 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/1.22, allocations: 16 kB / 0.9745 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/1.221, allocations: 273.7 kB / 0.9747 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.028e-05/1.221, allocations: 18.53 kB / 0.9748 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/1.223, allocations: 87.81 kB / 0.9748 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.223, allocations: 44 kB / 0.9749 GB, free: 13.2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0003782/1.223, allocations: 265.9 kB / 0.9751 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003913/1.224, allocations: 162 kB / 0.9753 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/1.226, allocations: 1.157 MB / 0.9764 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/1.226, allocations: 19.97 kB / 0.9764 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/1.226, allocations: 3.938 kB / 0.9765 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001738/1.228, allocations: 1.07 MB / 0.9775 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005151/1.233, allocations: 2.779 MB / 0.9802 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.233, allocations: 4.219 kB / 0.9802 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.234, allocations: 250.1 kB / 0.9805 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/1.234, allocations: 8 kB / 0.9805 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.707e-05/1.234, allocations: 24 kB / 0.9805 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/1.234, allocations: 4 kB / 0.9805 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.234, allocations: 7.984 kB / 0.9805 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/1.237, allocations: 1.815 MB / 0.9823 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008273/1.238, allocations: 335.1 kB / 0.9826 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/1.239, allocations: 20 kB / 0.9826 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.24, allocations: 61.34 kB / 0.9827 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.24, allocations: 79.31 kB / 0.9827 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/1.24, allocations: 35.98 kB / 0.9828 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001254/1.241, allocations: 0.8428 MB / 0.9836 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.241, allocations: 0 / 0.9836 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002221/1.243, allocations: 0.7694 MB / 0.9843 GB, free: 3.383 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.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 (102): * Single equations (assignments): 102 * 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.003775/1.247, allocations: 2.515 MB / 0.9868 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003352/1.251, allocations: 1.737 MB / 0.9885 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.251, allocations: 0 / 0.9885 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009133/1.252, allocations: 0.5202 MB / 0.989 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004617/1.256, allocations: 0.9261 MB / 0.9899 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/1.276, allocations: 11.96 MB / 1.002 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/1.278, allocations: 1.445 MB / 1.003 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002134/1.28, allocations: 0.5521 MB / 1.004 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.281, allocations: 0.6828 MB / 1.004 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of SimCode: time 9.92e-07/1.281, allocations: 4 kB / 1.004 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1245/1.405, allocations: 45.83 MB / 1.049 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/12.07, allocations: 11.95 kB / 1.049 GB, free: 1.441 MB / 0.7794 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)