Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.00144/0.00144, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001711/0.001711, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.499/1.499, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.813/1.813, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00259/0.00259, allocations: 60.81 kB / 0.505 GB, free: 5.586 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.243, allocations: 80.94 MB / 0.584 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.8171/1.06, allocations: 207.2 MB / 0.7863 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02604/1.086, allocations: 9.776 MB / 0.7959 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003868/1.09, allocations: 55.62 kB / 0.7959 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003607/1.094, allocations: 0.684 MB / 0.7966 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0126/1.106, allocations: 2.635 MB / 0.7992 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006481/1.113, allocations: 1.27 MB / 0.8004 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01015/1.123, allocations: 4.058 MB / 0.8044 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003615/1.127, allocations: 1.296 MB / 0.8056 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005299/1.132, allocations: 1.374 MB / 0.807 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005312/1.138, allocations: 1.327 MB / 0.8083 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008902/1.138, allocations: 144 kB / 0.8084 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009028/1.147, allocations: 2.505 MB / 0.8109 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001758/1.149, allocations: 0.6039 MB / 0.8115 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002967/1.152, allocations: 0.8673 MB / 0.8123 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01092/1.163, allocations: 3.151 MB / 0.8154 GB, free: 200 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/1.163, allocations: 0 / 0.8154 GB, free: 200 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.994e-06/1.163, allocations: 0 / 0.8154 GB, free: 200 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001079/1.163, allocations: 0 / 0.8154 GB, free: 200 kB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.00747/1.171, allocations: 1.907 MB / 0.8172 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.279e-05/1.171, allocations: 12.03 kB / 0.8173 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005989/1.172, allocations: 168.8 kB / 0.8174 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006224/1.178, allocations: 485.7 kB / 0.8179 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003569/1.181, allocations: 1.065 MB / 0.8189 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/1.182, allocations: 82.12 kB / 0.819 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004318/1.182, allocations: 119.9 kB / 0.8191 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00396/1.186, allocations: 1.149 MB / 0.8202 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.026e-05/1.186, allocations: 8 kB / 0.8202 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/1.186, allocations: 40 kB / 0.8203 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/1.187, allocations: 50.12 kB / 0.8203 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003387/1.19, allocations: 1.062 MB / 0.8214 GB, free: 9.91 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.01106/1.201, allocations: 4.199 MB / 0.8255 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/1.203, allocations: 0.8271 MB / 0.8263 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/1.204, allocations: 482.2 kB / 0.8267 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006095/1.205, allocations: 292.3 kB / 0.827 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.492e-05/1.205, allocations: 47.56 kB / 0.8271 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 5.721e-06/1.205, allocations: 4 kB / 0.8271 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.009973/1.215, allocations: 2.837 MB / 0.8298 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/1.215, allocations: 64.41 kB / 0.8299 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/1.218, allocations: 0.9754 MB / 0.8308 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001906/1.218, allocations: 45.7 kB / 0.8309 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007235/1.219, allocations: 0.5396 MB / 0.8314 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00051/1.219, allocations: 315.3 kB / 0.8317 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004837/1.22, allocations: 158.6 kB / 0.8319 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000342/1.22, allocations: 341.9 kB / 0.8322 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/1.221, allocations: 333.8 kB / 0.8325 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/1.222, allocations: 0.4965 MB / 0.833 GB, free: 13.46 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.233, allocations: 3.013 MB / 0.8359 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/1.233, allocations: 0 / 0.8359 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002938/1.236, allocations: 1.008 MB / 0.8369 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/1.236, allocations: 12.03 kB / 0.8369 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/1.236, allocations: 0 / 0.8369 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.415e-05/1.236, allocations: 8 kB / 0.8369 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/1.237, allocations: 187.7 kB / 0.8371 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.58e-05/1.237, allocations: 11.94 kB / 0.8371 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.24, allocations: 69.61 kB / 0.8372 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/1.24, allocations: 31.98 kB / 0.8372 GB, free: 9.035 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.001195/1.241, allocations: 389.4 kB / 0.8376 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005527/1.242, allocations: 126.6 kB / 0.8377 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/1.242, allocations: 144.3 kB / 0.8379 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.242, allocations: 8 kB / 0.8379 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/1.242, allocations: 3.938 kB / 0.8379 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00268/1.245, allocations: 1.09 MB / 0.8389 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008585/1.254, allocations: 3.036 MB / 0.8419 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.453e-05/1.254, allocations: 15.94 kB / 0.8419 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.255, allocations: 175.8 kB / 0.8421 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005267/1.255, allocations: 105.6 kB / 0.8422 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/1.256, allocations: 28 kB / 0.8422 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004025/1.26, allocations: 3.086 MB / 0.8452 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.877e-05/1.26, allocations: 20 kB / 0.8452 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004456/1.264, allocations: 1.788 MB / 0.847 GB, free: 14.35 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/1.265, allocations: 311.5 kB / 0.8473 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004334/1.266, allocations: 27.98 kB / 0.8473 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/1.268, allocations: 83.8 kB / 0.8474 GB, free: 13.92 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002992/1.268, allocations: 84.11 kB / 0.8475 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/1.268, allocations: 47.98 kB / 0.8475 GB, free: 13.79 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001796/1.27, allocations: 0.6956 MB / 0.8482 GB, free: 13.09 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.1e-07/1.27, allocations: 0 / 0.8482 GB, free: 13.09 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002259/1.272, allocations: 376 kB / 0.8486 GB, free: 12.72 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005327/1.278, allocations: 2.472 MB / 0.851 GB, free: 10.11 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002908/1.281, allocations: 0.9566 MB / 0.8519 GB, free: 9.152 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/1.281, allocations: 4 kB / 0.8519 GB, free: 9.148 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/1.282, allocations: 0.68 MB / 0.8526 GB, free: 8.449 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007369/1.29, allocations: 0.9299 MB / 0.8535 GB, free: 7.566 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4346/1.724, allocations: 10.66 MB / 0.8639 GB, free: 218.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/1.725, allocations: 1.252 MB / 0.8651 GB, free: 217.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002457/1.728, allocations: 334.4 kB / 0.8654 GB, free: 217.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.729, allocations: 473 kB / 0.8659 GB, free: 217.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.493e-06/1.729, allocations: 0 / 0.8659 GB, free: 217.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/1.838, allocations: 38.07 MB / 0.9031 GB, free: 211.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/1.838, allocations: 275.1 kB / 0.9033 GB, free: 210.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.366/6.204, allocations: 0 / 0.9033 GB, free: 210.7 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)