Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.CoupledVolumesWater,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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.0009782/0.0009783, 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.0009556/0.0009556, allocations: 189.6 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.21/1.21, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6969/0.6969, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 59.97 kB / 0.5013 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3437, allocations: 80.21 MB / 0.5797 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02405/0.3678, allocations: 26.09 MB / 0.6052 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009466/0.3773, allocations: 7.054 MB / 0.612 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008496/0.3782, allocations: 32.66 kB / 0.6121 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008729/0.379, allocations: 341.1 kB / 0.6124 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.3813, allocations: 1.038 MB / 0.6134 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.3832, allocations: 0.8692 MB / 0.6143 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002076/0.3853, allocations: 2.101 MB / 0.6163 GB, free: 8.996 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006832/0.386, allocations: 0.603 MB / 0.6169 GB, free: 8.609 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.3874, allocations: 0.7301 MB / 0.6176 GB, free: 8.199 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005957/0.388, allocations: 0.5777 MB / 0.6182 GB, free: 7.844 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.85e-05/0.3881, allocations: 53.22 kB / 0.6182 GB, free: 7.844 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.3894, allocations: 0.8125 MB / 0.619 GB, free: 7.398 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.3896, allocations: 171.6 kB / 0.6192 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.3899, allocations: 383.4 kB / 0.6196 GB, free: 7.027 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.3912, allocations: 1.209 MB / 0.6207 GB, free: 6.246 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3912, allocations: 0 / 0.6207 GB, free: 6.246 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3913, allocations: 0 / 0.6207 GB, free: 6.246 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.3913, allocations: 0 / 0.6207 GB, free: 6.246 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001273/0.3926, allocations: 1.062 MB / 0.6218 GB, free: 5.371 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3926, allocations: 9.188 kB / 0.6218 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.783e-05/0.3927, allocations: 85.92 kB / 0.6219 GB, free: 5.293 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.393, allocations: 81.28 kB / 0.6219 GB, free: 5.258 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.394, allocations: 0.7334 MB / 0.6227 GB, free: 4.652 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.394, allocations: 34.75 kB / 0.6227 GB, free: 4.637 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.3941, allocations: 46.59 kB / 0.6227 GB, free: 4.621 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007188/0.3948, allocations: 0.4996 MB / 0.6232 GB, free: 4.285 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3949, allocations: 5 kB / 0.6232 GB, free: 4.281 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.3949, allocations: 21.88 kB / 0.6232 GB, free: 4.266 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.3949, allocations: 12.97 kB / 0.6233 GB, free: 4.266 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/0.3955, allocations: 320.1 kB / 0.6236 GB, free: 4.109 MB / 462.1 MB 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.002459/0.3979, allocations: 2.747 MB / 0.6262 GB, free: 1.535 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.3982, allocations: 196.1 kB / 0.6264 GB, free: 1.367 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.3984, allocations: 101.2 kB / 0.6265 GB, free: 1.266 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003434/0.3987, allocations: 344.3 kB / 0.6269 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.3988, allocations: 42.5 kB / 0.6269 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.3988, allocations: 0 / 0.6269 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005296/0.3993, allocations: 302.4 kB / 0.6272 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.3994, allocations: 55.34 kB / 0.6272 GB, free: 448 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.3999, allocations: 0.5185 MB / 0.6277 GB, free: 15.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.3999, allocations: 37.7 kB / 0.6278 GB, free: 15.87 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.4002, allocations: 347.4 kB / 0.6281 GB, free: 15.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.4002, allocations: 74.91 kB / 0.6282 GB, free: 15.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.87e-05/0.4003, allocations: 81.56 kB / 0.6283 GB, free: 15.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4005, allocations: 366.8 kB / 0.6286 GB, free: 15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.4006, allocations: 96.81 kB / 0.6287 GB, free: 14.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.4008, allocations: 237.8 kB / 0.6289 GB, free: 14.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.4012, allocations: 337.5 kB / 0.6293 GB, free: 14.21 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4012, allocations: 0 / 0.6293 GB, free: 14.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000527/0.4018, allocations: 393.5 kB / 0.6296 GB, free: 13.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4018, allocations: 8 kB / 0.6296 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.4018, allocations: 4 kB / 0.6296 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.4018, allocations: 8 kB / 0.6297 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.4021, allocations: 71.91 kB / 0.6297 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.4021, allocations: 11.92 kB / 0.6297 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.4025, allocations: 67.72 kB / 0.6298 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.4025, allocations: 20 kB / 0.6298 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002759/0.4028, allocations: 242.7 kB / 0.63 GB, free: 13.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002176/0.403, allocations: 235.7 kB / 0.6303 GB, free: 13.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003755/0.4034, allocations: 332 kB / 0.6306 GB, free: 12.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.4034, allocations: 4 kB / 0.6306 GB, free: 12.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005057/0.4039, allocations: 389.1 kB / 0.631 GB, free: 12.33 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.804e-06/0.404, allocations: 16 kB / 0.631 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.404, allocations: 4 kB / 0.631 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.404, allocations: 11.94 kB / 0.631 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.4042, allocations: 71.91 kB / 0.6311 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4042, allocations: 7.938 kB / 0.6311 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.4046, allocations: 55.72 kB / 0.6311 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.4046, allocations: 16 kB / 0.6311 GB, free: 12.15 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0001131/0.4047, allocations: 200.1 kB / 0.6313 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.4048, allocations: 59.28 kB / 0.6314 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.4053, allocations: 281.6 kB / 0.6317 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.4053, allocations: 4 kB / 0.6317 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4053, allocations: 0 / 0.6317 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003235/0.4056, allocations: 385.3 kB / 0.632 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.4069, allocations: 1.057 MB / 0.6331 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4069, allocations: 0 / 0.6331 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.4071, allocations: 51.91 kB / 0.6331 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4072, allocations: 4 kB / 0.6331 GB, free: 9.969 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.4072, allocations: 8 kB / 0.6331 GB, free: 9.961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.4072, allocations: 4 kB / 0.6331 GB, free: 9.957 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.4072, allocations: 7.938 kB / 0.6331 GB, free: 9.949 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.4078, allocations: 0.5184 MB / 0.6336 GB, free: 9.387 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.408, allocations: 172.2 kB / 0.6338 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/0.4081, allocations: 7.984 kB / 0.6338 GB, free: 9.191 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.4084, allocations: 31.89 kB / 0.6338 GB, free: 9.16 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.4085, allocations: 27.97 kB / 0.6339 GB, free: 9.133 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.4085, allocations: 19.98 kB / 0.6339 GB, free: 9.113 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004055/0.4089, allocations: 399.1 kB / 0.6343 GB, free: 8.719 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4089, allocations: 0 / 0.6343 GB, free: 8.719 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009038/0.4098, allocations: 347.3 kB / 0.6346 GB, free: 8.379 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001219/0.4111, allocations: 1.246 MB / 0.6358 GB, free: 7.086 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005978/0.4117, allocations: 425.6 kB / 0.6362 GB, free: 6.672 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4117, allocations: 0 / 0.6362 GB, free: 6.672 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.4118, allocations: 107.8 kB / 0.6363 GB, free: 6.566 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.4134, allocations: 376.7 kB / 0.6367 GB, free: 6.223 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005265/0.4187, allocations: 4.681 MB / 0.6413 GB, free: 1.305 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.4191, allocations: 0.8941 MB / 0.6421 GB, free: 392 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000536/0.4196, allocations: 160.8 kB / 0.6423 GB, free: 236 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.4199, allocations: 223.4 kB / 0.6425 GB, free: 12 kB / 478.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4199, allocations: 0 / 0.6425 GB, free: 12 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.4498, allocations: 17.41 MB / 0.6595 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.45, allocations: 250.2 kB / 0.6597 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.438, allocations: 0 / 0.6597 GB, free: 14.71 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)