Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.MixingVolumeMFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IDEAS_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.0009925/0.0009926, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001024/0.001024, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.248/1.248, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7038/0.7038, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 59.28 kB / 0.5014 GB, free: 9.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1203, allocations: 80.2 MB / 0.5797 GB, free: 9.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.3711/0.4914, allocations: 207.2 MB / 0.782 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.503, allocations: 9.777 MB / 0.7916 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.5044, allocations: 55.62 kB / 0.7916 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.506, allocations: 0.684 MB / 0.7923 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.5109, allocations: 2.63 MB / 0.7949 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.5133, allocations: 1.271 MB / 0.7961 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003294/0.5166, allocations: 4.058 MB / 0.8001 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.5178, allocations: 1.299 MB / 0.8013 GB, free: 88 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.5192, allocations: 1.385 MB / 0.8027 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.521, allocations: 1.316 MB / 0.804 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.5212, allocations: 144 kB / 0.8041 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002976/0.5241, allocations: 2.505 MB / 0.8066 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004458/0.5246, allocations: 0.6078 MB / 0.8072 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000665/0.5253, allocations: 0.8556 MB / 0.808 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.528, allocations: 3.159 MB / 0.8111 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.528, allocations: 0 / 0.8111 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.022e-06/0.528, allocations: 0 / 0.8111 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.528, allocations: 0 / 0.8111 GB, free: 6.098 MB / 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.002313/0.5303, allocations: 1.907 MB / 0.8129 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.5303, allocations: 12.03 kB / 0.8129 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001763/0.5305, allocations: 176.7 kB / 0.8131 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/0.5333, allocations: 481.7 kB / 0.8136 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.5346, allocations: 1.069 MB / 0.8146 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/0.5347, allocations: 78.14 kB / 0.8147 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.5348, allocations: 115.9 kB / 0.8148 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.5365, allocations: 1.149 MB / 0.8159 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.5365, allocations: 3.984 kB / 0.8159 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.934e-05/0.5366, allocations: 48 kB / 0.816 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/0.5367, allocations: 38.14 kB / 0.816 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.5381, allocations: 1.066 MB / 0.8171 GB, free: 15.82 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.004557/0.5427, allocations: 4.206 MB / 0.8212 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.5437, allocations: 0.8207 MB / 0.822 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005538/0.5442, allocations: 486.9 kB / 0.8224 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003395/0.5446, allocations: 296.3 kB / 0.8227 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.5446, allocations: 43.56 kB / 0.8228 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 1.683e-06/0.5446, allocations: 4 kB / 0.8228 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.004504/0.5491, allocations: 2.834 MB / 0.8255 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.5492, allocations: 64.39 kB / 0.8256 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009547/0.5502, allocations: 0.9754 MB / 0.8265 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.5502, allocations: 45.7 kB / 0.8266 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.5506, allocations: 0.5434 MB / 0.8271 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.5508, allocations: 311.4 kB / 0.8274 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.551, allocations: 162.6 kB / 0.8276 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.5511, allocations: 338 kB / 0.8279 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/0.5516, allocations: 337.8 kB / 0.8282 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.5521, allocations: 0.4965 MB / 0.8287 GB, free: 3.359 MB / 0.6387 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.005104/0.5572, allocations: 3.01 MB / 0.8316 GB, free: 268 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5573, allocations: 4 kB / 0.8316 GB, free: 264 kB / 0.6387 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00128/0.5585, allocations: 1.008 MB / 0.8326 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.5586, allocations: 4 kB / 0.8326 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5586, allocations: 4.375 kB / 0.8326 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.5586, allocations: 19.88 kB / 0.8326 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.5592, allocations: 183.7 kB / 0.8328 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.5593, allocations: 7.938 kB / 0.8328 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008558/0.5601, allocations: 67.7 kB / 0.8329 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.5602, allocations: 36 kB / 0.8329 GB, free: 14.93 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.0004159/0.5606, allocations: 381.5 kB / 0.8333 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.5608, allocations: 126.5 kB / 0.8334 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.561, allocations: 144.3 kB / 0.8335 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.561, allocations: 19.94 kB / 0.8336 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.5611, allocations: 0 / 0.8336 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/0.5623, allocations: 1.09 MB / 0.8346 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003801/0.5661, allocations: 3.039 MB / 0.8376 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.5662, allocations: 8 kB / 0.8376 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006559/0.5668, allocations: 172.5 kB / 0.8378 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002799/0.5671, allocations: 105.6 kB / 0.8379 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.5672, allocations: 31.98 kB / 0.8379 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.5692, allocations: 3.093 MB / 0.8409 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.5692, allocations: 11.94 kB / 0.8409 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.5712, allocations: 1.796 MB / 0.8427 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.5716, allocations: 307.5 kB / 0.843 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.5718, allocations: 29.38 kB / 0.843 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000862/0.5726, allocations: 74.98 kB / 0.8431 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.5728, allocations: 92.09 kB / 0.8432 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.947e-05/0.5728, allocations: 47.98 kB / 0.8432 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007125/0.5735, allocations: 0.6956 MB / 0.8439 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5736, allocations: 3.938 kB / 0.8439 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008439/0.5744, allocations: 372 kB / 0.8443 GB, free: 2.621 MB / 0.6544 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.002505/0.5769, allocations: 2.476 MB / 0.8467 GB, free: 4 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.5782, allocations: 0.9574 MB / 0.8476 GB, free: 15.05 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5783, allocations: 4 kB / 0.8476 GB, free: 15.04 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000779/0.579, allocations: 0.6795 MB / 0.8483 GB, free: 14.34 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/0.5824, allocations: 0.93 MB / 0.8492 GB, free: 13.48 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.5941, allocations: 10.66 MB / 0.8596 GB, free: 2.184 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007197/0.5949, allocations: 1.252 MB / 0.8608 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001002/0.5959, allocations: 343 kB / 0.8611 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005344/0.5964, allocations: 479.3 kB / 0.8616 GB, free: 96 kB / 0.67 GB Notification: Performance of SimCode: time 2.21e-07/0.5964, allocations: 0 / 0.8616 GB, free: 96 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.412/3.009, allocations: 38.06 MB / 0.8988 GB, free: 219.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/3.009, allocations: 261 kB / 0.899 GB, free: 218.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.382/6.391, allocations: 0 / 0.899 GB, free: 218.7 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)