Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume",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.0009045/0.0009045, allocations: 91.84 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.007788/0.007788, allocations: 170 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.286/1.286, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 274.1 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.938/0.938, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003878, allocations: 18.44 kB / 0.5988 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume): time 0.484/0.6175, allocations: 237.2 MB / 0.9169 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01974/0.6373, allocations: 15.92 MB / 0.9324 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.6389, allocations: 67.5 kB / 0.9325 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/0.6412, allocations: 1.014 MB / 0.9335 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007667/0.6489, allocations: 3.601 MB / 0.937 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.6526, allocations: 1.615 MB / 0.9386 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007003/0.6596, allocations: 7.431 MB / 0.9458 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.6613, allocations: 1.379 MB / 0.9472 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004111/0.6654, allocations: 2.311 MB / 0.9494 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.6682, allocations: 1.729 MB / 0.9511 GB, free: 15.21 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.6684, allocations: 84 kB / 0.9512 GB, free: 15.13 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005062/0.6735, allocations: 3.137 MB / 0.9543 GB, free: 11.98 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007067/0.6742, allocations: 0.6736 MB / 0.9549 GB, free: 11.31 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.6754, allocations: 1.063 MB / 0.9559 GB, free: 10.23 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004266/0.6796, allocations: 3.601 MB / 0.9595 GB, free: 6.621 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.6797, allocations: 0 / 0.9595 GB, free: 6.621 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6797, allocations: 0 / 0.9595 GB, free: 6.621 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.187e-05/0.6797, allocations: 0 / 0.9595 GB, free: 6.621 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.003519/0.6832, allocations: 2.117 MB / 0.9615 GB, free: 4.449 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.6833, allocations: 12.03 kB / 0.9615 GB, free: 4.438 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002541/0.6835, allocations: 215.1 kB / 0.9617 GB, free: 4.219 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/0.6864, allocations: 0.5048 MB / 0.9622 GB, free: 3.711 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.6883, allocations: 1.28 MB / 0.9635 GB, free: 2.375 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.6885, allocations: 178.2 kB / 0.9637 GB, free: 2.188 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/0.6887, allocations: 148 kB / 0.9638 GB, free: 2.043 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/0.6915, allocations: 1.741 MB / 0.9655 GB, free: 232 kB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/0.6915, allocations: 11.94 kB / 0.9655 GB, free: 220 kB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.6917, allocations: 64 kB / 0.9656 GB, free: 156 kB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.153e-05/0.6917, allocations: 58.69 kB / 0.9656 GB, free: 96 kB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.6942, allocations: 1.396 MB / 0.967 GB, free: 14.69 MB / 0.6856 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.008428/0.7027, allocations: 8.214 MB / 0.975 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.7043, allocations: 0.9095 MB / 0.9759 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008896/0.7052, allocations: 0.5463 MB / 0.9764 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006251/0.7058, allocations: 336.4 kB / 0.9768 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.7058, allocations: 55.48 kB / 0.9768 GB, free: 3.867 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=96): time 2.344e-06/0.7059, allocations: 3.938 kB / 0.9768 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of matching and sorting (n=102): time 0.006594/0.7125, allocations: 3.163 MB / 0.9799 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.7125, allocations: 64.41 kB / 0.98 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.714, allocations: 1.258 MB / 0.9812 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-05/0.7141, allocations: 53.69 kB / 0.9812 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005621/0.7146, allocations: 0.8171 MB / 0.982 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.7149, allocations: 362.8 kB / 0.9824 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.7151, allocations: 101.7 kB / 0.9825 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7152, allocations: 353.9 kB / 0.9828 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008319/0.716, allocations: 446.4 kB / 0.9832 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.7171, allocations: 0.8361 MB / 0.9841 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/0.7191, allocations: 1.272 MB / 0.9853 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7191, allocations: 8 kB / 0.9853 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002346/0.7214, allocations: 1.425 MB / 0.9867 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.7217, allocations: 366.1 kB / 0.9871 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.7217, allocations: 8 kB / 0.9871 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/0.7217, allocations: 16 kB / 0.9871 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.7229, allocations: 275.6 kB / 0.9873 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/0.7229, allocations: 19.94 kB / 0.9874 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.7244, allocations: 188.2 kB / 0.9875 GB, free: 8.352 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.211e-05/0.7245, allocations: 59.92 kB / 0.9876 GB, free: 8.293 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.552e-06/0.7245, allocations: 4 kB / 0.9876 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002106/0.7266, allocations: 1.238 MB / 0.9888 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.7266, allocations: 12 kB / 0.9888 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.7266, allocations: 12 kB / 0.9888 GB, free: 7.027 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.7277, allocations: 283.6 kB / 0.9891 GB, free: 6.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/0.7277, allocations: 23.92 kB / 0.9891 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.7291, allocations: 175.6 kB / 0.9893 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.167e-05/0.7292, allocations: 52 kB / 0.9893 GB, free: 6.504 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0006635/0.7299, allocations: 0.5057 MB / 0.9898 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.7301, allocations: 170 kB / 0.99 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.7322, allocations: 1.182 MB / 0.9912 GB, free: 4.629 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.7322, allocations: 8 kB / 0.9912 GB, free: 4.621 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.7323, allocations: 4 kB / 0.9912 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001707/0.734, allocations: 1.095 MB / 0.9922 GB, free: 3.469 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/0.7383, allocations: 2.801 MB / 0.995 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.7383, allocations: 0 / 0.995 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.7395, allocations: 251.9 kB / 0.9952 GB, free: 348 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.7395, allocations: 8 kB / 0.9952 GB, free: 340 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/0.7396, allocations: 31.92 kB / 0.9952 GB, free: 308 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.7396, allocations: 8 kB / 0.9953 GB, free: 300 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7396, allocations: 0 / 0.9953 GB, free: 300 kB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.7424, allocations: 1.793 MB / 0.997 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.7429, allocations: 339 kB / 0.9973 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.7431, allocations: 27.94 kB / 0.9974 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.7443, allocations: 142.5 kB / 0.9975 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.7445, allocations: 68.91 kB / 0.9976 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-05/0.7445, allocations: 39.98 kB / 0.9976 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009959/0.7455, allocations: 0.8426 MB / 0.9984 GB, free: 13 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.333e-06/0.7455, allocations: 4.094 kB / 0.9984 GB, free: 13 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001789/0.7473, allocations: 0.7695 MB / 0.9992 GB, free: 12.23 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * 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 Backend phase and start with SimCode phase: time 0.003457/0.7508, allocations: 2.528 MB / 1.002 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00295/0.7538, allocations: 1.768 MB / 1.003 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7538, allocations: 4 kB / 1.003 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008741/0.7547, allocations: 0.5253 MB / 1.004 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004891/0.7596, allocations: 0.9675 MB / 1.005 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.7782, allocations: 13.95 MB / 1.018 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009663/0.7792, allocations: 1.441 MB / 1.02 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00196/0.7812, allocations: 0.5563 MB / 1.02 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008748/0.782, allocations: 0.6906 MB / 1.021 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.782, allocations: 4 kB / 1.021 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3181/1.1, allocations: 43.33 MB / 1.063 GB, free: 265.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/1.1, allocations: 256 kB / 1.064 GB, free: 265.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.747/3.847, allocations: 0 / 1.064 GB, free: 265.1 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)