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.001193/0.001193, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 197.2 kB / 16.53 MB, free: 6.664 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.223/1.223, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7065/0.7065, allocations: 132.2 MB / 422.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 67.42 kB / 0.5019 GB, free: 8.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1234, allocations: 80.21 MB / 0.5802 GB, free: 8.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.2439/0.3674, allocations: 26.25 MB / 0.6058 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006891/0.3743, allocations: 7.112 MB / 0.6128 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005161/0.3748, allocations: 35.72 kB / 0.6128 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006956/0.3756, allocations: 384.3 kB / 0.6132 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.3773, allocations: 1.115 MB / 0.6143 GB, free: 35.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.3789, allocations: 0.9407 MB / 0.6152 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.3803, allocations: 2.093 MB / 0.6172 GB, free: 35.37 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005301/0.3808, allocations: 0.6208 MB / 0.6178 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.3819, allocations: 0.7164 MB / 0.6185 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004491/0.3824, allocations: 0.5394 MB / 0.6191 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.746e-05/0.3824, allocations: 54.97 kB / 0.6191 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.3835, allocations: 0.8087 MB / 0.6199 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.3836, allocations: 176.8 kB / 0.6201 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.3839, allocations: 375.6 kB / 0.6204 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.3849, allocations: 1.21 MB / 0.6216 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3849, allocations: 3.938 kB / 0.6216 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3849, allocations: 0 / 0.6216 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.3849, allocations: 0 / 0.6216 GB, free: 33.92 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.00104/0.386, allocations: 1.051 MB / 0.6226 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.386, allocations: 12.66 kB / 0.6226 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.717e-05/0.3861, allocations: 85.91 kB / 0.6227 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002389/0.3863, allocations: 84.91 kB / 0.6228 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007811/0.3871, allocations: 0.7023 MB / 0.6235 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.3872, allocations: 37.16 kB / 0.6235 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.3872, allocations: 44.31 kB / 0.6236 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.3878, allocations: 0.501 MB / 0.6241 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3878, allocations: 3.938 kB / 0.6241 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.3879, allocations: 17.59 kB / 0.6241 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.3879, allocations: 13.38 kB / 0.6241 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.3883, allocations: 323.1 kB / 0.6244 GB, free: 32.2 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.00181/0.3901, allocations: 2.763 MB / 0.6271 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.3904, allocations: 197.3 kB / 0.6273 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3905, allocations: 102.2 kB / 0.6274 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.3907, allocations: 344.6 kB / 0.6277 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.3907, allocations: 37.83 kB / 0.6278 GB, free: 29.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.3907, allocations: 0 / 0.6278 GB, free: 29.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0004305/0.3912, allocations: 306.5 kB / 0.628 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.3912, allocations: 54.5 kB / 0.6281 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.3916, allocations: 0.5221 MB / 0.6286 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3916, allocations: 29.7 kB / 0.6286 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.3918, allocations: 358.2 kB / 0.629 GB, free: 28.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.3918, allocations: 79.56 kB / 0.6291 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.649e-05/0.3919, allocations: 84.89 kB / 0.6291 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.778e-05/0.392, allocations: 359.6 kB / 0.6295 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.3921, allocations: 90.38 kB / 0.6296 GB, free: 28.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.3922, allocations: 237.7 kB / 0.6298 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.3925, allocations: 337.4 kB / 0.6301 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3925, allocations: 0 / 0.6301 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004323/0.393, allocations: 388.4 kB / 0.6305 GB, free: 27.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.393, allocations: 5.562 kB / 0.6305 GB, free: 27.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.393, allocations: 6.281 kB / 0.6305 GB, free: 27.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.393, allocations: 5.594 kB / 0.6305 GB, free: 27.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.3933, allocations: 85.64 kB / 0.6306 GB, free: 27.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3933, allocations: 5.781 kB / 0.6306 GB, free: 27.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.3936, allocations: 50.02 kB / 0.6306 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.3936, allocations: 17.81 kB / 0.6306 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002156/0.3938, allocations: 245.5 kB / 0.6309 GB, free: 27.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001537/0.394, allocations: 242.5 kB / 0.6311 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002596/0.3943, allocations: 337.6 kB / 0.6314 GB, free: 26.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.3943, allocations: 0 / 0.6314 GB, free: 26.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0004264/0.3947, allocations: 387.2 kB / 0.6318 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.3947, allocations: 8.219 kB / 0.6318 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3947, allocations: 8.234 kB / 0.6318 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.399e-06/0.3947, allocations: 8.938 kB / 0.6318 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.3949, allocations: 82.34 kB / 0.6319 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3949, allocations: 5.781 kB / 0.6319 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.3952, allocations: 35.03 kB / 0.6319 GB, free: 26.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.3953, allocations: 18.91 kB / 0.632 GB, free: 26.64 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 7.308e-05/0.3953, allocations: 209.6 kB / 0.6322 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.3954, allocations: 57.31 kB / 0.6322 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003736/0.3958, allocations: 277.7 kB / 0.6325 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3958, allocations: 2.656 kB / 0.6325 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3958, allocations: 0 / 0.6325 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002557/0.3961, allocations: 384.4 kB / 0.6329 GB, free: 25.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.3971, allocations: 1.057 MB / 0.6339 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3971, allocations: 7.344 kB / 0.6339 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.3973, allocations: 50.8 kB / 0.6339 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3973, allocations: 3.344 kB / 0.6339 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.3973, allocations: 9.938 kB / 0.634 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3974, allocations: 2.812 kB / 0.634 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3974, allocations: 2.906 kB / 0.634 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.3978, allocations: 0.522 MB / 0.6345 GB, free: 24.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.398, allocations: 170.5 kB / 0.6346 GB, free: 24.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.894e-05/0.3981, allocations: 11.41 kB / 0.6346 GB, free: 24.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.3984, allocations: 18.45 kB / 0.6347 GB, free: 24.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.3984, allocations: 23.17 kB / 0.6347 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.3985, allocations: 16.91 kB / 0.6347 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003305/0.3988, allocations: 414.2 kB / 0.6351 GB, free: 24.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3988, allocations: 3.938 kB / 0.6351 GB, free: 24.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000826/0.3996, allocations: 351.8 kB / 0.6354 GB, free: 24.46 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.0009801/0.4006, allocations: 1.268 MB / 0.6367 GB, free: 23.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005196/0.4011, allocations: 418.4 kB / 0.6371 GB, free: 23.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4012, allocations: 3.125 kB / 0.6371 GB, free: 23.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.4013, allocations: 110.9 kB / 0.6372 GB, free: 23.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.4028, allocations: 373.1 kB / 0.6375 GB, free: 23.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/0.4067, allocations: 4.512 MB / 0.6419 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.4069, allocations: 0.8954 MB / 0.6428 GB, free: 19.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00047/0.4074, allocations: 160.7 kB / 0.643 GB, free: 19.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.4076, allocations: 224.5 kB / 0.6432 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.4076, allocations: 0 / 0.6432 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5201/0.9277, allocations: 17.83 MB / 0.6606 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.84, allocations: 3.281 kB / 0.6606 GB, free: 17.91 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)