Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.CoupledVolumesWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IDEAS_dev_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.0007444/0.0007444, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.004534/0.004534, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9224/0.9224, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002996, allocations: 8 kB / 0.5077 GB, free: 4.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 82.3 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.2599/0.3911, allocations: 25.44 MB / 0.6129 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006636/0.3978, allocations: 7.09 MB / 0.6198 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004121/0.3982, allocations: 33.06 kB / 0.6199 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.3989, allocations: 309.2 kB / 0.6202 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.4004, allocations: 1.032 MB / 0.6212 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.4019, allocations: 0.8524 MB / 0.622 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001922/0.4039, allocations: 2.804 MB / 0.6247 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005444/0.4044, allocations: 0.5148 MB / 0.6252 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006372/0.4051, allocations: 0.5988 MB / 0.6258 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.4056, allocations: 0.5278 MB / 0.6263 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.746e-05/0.4056, allocations: 22.34 kB / 0.6264 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.4068, allocations: 0.7803 MB / 0.6271 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.407, allocations: 128.6 kB / 0.6272 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.4072, allocations: 366.4 kB / 0.6276 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.4083, allocations: 1.173 MB / 0.6287 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4083, allocations: 0 / 0.6287 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.033e-06/0.4083, allocations: 3.938 kB / 0.6287 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.4083, allocations: 0 / 0.6287 GB, free: 32.15 MB / 0.4981 GB 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.001058/0.4094, allocations: 0.9058 MB / 0.6296 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.4094, allocations: 16.81 kB / 0.6296 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.826e-05/0.4095, allocations: 85.61 kB / 0.6297 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.4097, allocations: 94.78 kB / 0.6298 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/0.4106, allocations: 0.7302 MB / 0.6305 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.4106, allocations: 35.5 kB / 0.6306 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/0.4107, allocations: 40.97 kB / 0.6306 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.4114, allocations: 0.5002 MB / 0.6311 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.4114, allocations: 4.562 kB / 0.6311 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.4114, allocations: 21.09 kB / 0.6311 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.4115, allocations: 11.06 kB / 0.6311 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.4119, allocations: 319 kB / 0.6314 GB, free: 30.49 MB / 0.4981 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.001918/0.4138, allocations: 2.755 MB / 0.6341 GB, free: 28.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.4141, allocations: 191.9 kB / 0.6343 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.4142, allocations: 102.2 kB / 0.6344 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.4144, allocations: 338.4 kB / 0.6347 GB, free: 27.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.4145, allocations: 41.12 kB / 0.6348 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.4145, allocations: 0 / 0.6348 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0004414/0.4149, allocations: 311.3 kB / 0.6351 GB, free: 27.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.4149, allocations: 51.41 kB / 0.6351 GB, free: 27.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004417/0.4154, allocations: 0.5106 MB / 0.6356 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.4154, allocations: 32.92 kB / 0.6356 GB, free: 27.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.4156, allocations: 343.8 kB / 0.636 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.4156, allocations: 81.33 kB / 0.636 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.4157, allocations: 36.59 kB / 0.6361 GB, free: 26.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.678e-05/0.4157, allocations: 367.2 kB / 0.6364 GB, free: 26.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.4159, allocations: 92.53 kB / 0.6365 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.416, allocations: 235.5 kB / 0.6367 GB, free: 26.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.4163, allocations: 336.8 kB / 0.6371 GB, free: 26.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4164, allocations: 0 / 0.6371 GB, free: 26.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00046/0.4168, allocations: 393 kB / 0.6374 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.027e-05/0.4169, allocations: 214.6 kB / 0.6376 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.4169, allocations: 3.406 kB / 0.6376 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.4169, allocations: 10.72 kB / 0.6377 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.4172, allocations: 81.91 kB / 0.6377 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4172, allocations: 9.594 kB / 0.6377 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.4176, allocations: 56.62 kB / 0.6378 GB, free: 25.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.4176, allocations: 25.77 kB / 0.6378 GB, free: 25.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.12e-06/0.4176, allocations: 6.844 kB / 0.6378 GB, free: 25.53 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003619/0.418, allocations: 305.8 kB / 0.6381 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.418, allocations: 10.97 kB / 0.6381 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-06/0.418, allocations: 5.906 kB / 0.6381 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.4182, allocations: 78.97 kB / 0.6382 GB, free: 25.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4182, allocations: 9.844 kB / 0.6382 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.4185, allocations: 50.62 kB / 0.6383 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.4186, allocations: 23.19 kB / 0.6383 GB, free: 25.37 MB / 0.4981 GB 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.0001823/0.4188, allocations: 279.3 kB / 0.6386 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.4188, allocations: 55.31 kB / 0.6386 GB, free: 25.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.4192, allocations: 281 kB / 0.6389 GB, free: 24.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.4192, allocations: 6.938 kB / 0.6389 GB, free: 24.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4192, allocations: 0 / 0.6389 GB, free: 24.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002589/0.4195, allocations: 380.9 kB / 0.6392 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.4206, allocations: 1.056 MB / 0.6403 GB, free: 23.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4206, allocations: 2.781 kB / 0.6403 GB, free: 23.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.4208, allocations: 53.31 kB / 0.6403 GB, free: 23.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4208, allocations: 7.156 kB / 0.6403 GB, free: 23.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.4208, allocations: 6.906 kB / 0.6403 GB, free: 23.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4208, allocations: 6.125 kB / 0.6404 GB, free: 23.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4209, allocations: 3.328 kB / 0.6404 GB, free: 23.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.4213, allocations: 0.5178 MB / 0.6409 GB, free: 23.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.4215, allocations: 192.2 kB / 0.641 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.4216, allocations: 9.875 kB / 0.6411 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.4219, allocations: 25.09 kB / 0.6411 GB, free: 23.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.422, allocations: 23.5 kB / 0.6411 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.422, allocations: 18.52 kB / 0.6411 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003384/0.4223, allocations: 397 kB / 0.6415 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4224, allocations: 2.688 kB / 0.6415 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008649/0.4232, allocations: 348.3 kB / 0.6418 GB, free: 23.15 MB / 0.4981 GB 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.0009961/0.4242, allocations: 1.262 MB / 0.6431 GB, free: 22.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004903/0.4247, allocations: 405.4 kB / 0.6435 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4247, allocations: 0 / 0.6435 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.4249, allocations: 103.9 kB / 0.6435 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.4268, allocations: 376.2 kB / 0.6439 GB, free: 21.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.4312, allocations: 4.721 MB / 0.6485 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.4315, allocations: 0.904 MB / 0.6494 GB, free: 18.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004962/0.432, allocations: 158.5 kB / 0.6496 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.4322, allocations: 215.5 kB / 0.6498 GB, free: 17.94 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.4322, allocations: 0 / 0.6498 GB, free: 17.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5185/0.9507, allocations: 16.94 MB / 0.6663 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.951, allocations: 240.9 kB / 0.6665 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/3.083, allocations: 0 / 0.6665 GB, free: 16.04 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)