Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.001621/0.001621, allocations: 97.97 kB / 16.27 MB, free: 5.973 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.001882/0.001882, allocations: 191.6 kB / 17.2 MB, free: 5.602 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.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7239/0.7239, allocations: 122.8 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 55.91 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2889, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.435/0.7239, allocations: 187.8 MB / 0.7507 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01297/0.7369, allocations: 10.76 MB / 0.7612 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009886/0.7379, allocations: 40.84 kB / 0.7612 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.7392, allocations: 0.4896 MB / 0.7617 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.7448, allocations: 2.577 MB / 0.7642 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005486/0.7503, allocations: 2.451 MB / 0.7666 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002979/0.7533, allocations: 2.769 MB / 0.7693 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000896/0.7542, allocations: 0.78 MB / 0.7701 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.7555, allocations: 0.9903 MB / 0.7711 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.757, allocations: 1.054 MB / 0.7721 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.7572, allocations: 98.38 kB / 0.7722 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005056/0.7623, allocations: 2.999 MB / 0.7751 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003606/0.7626, allocations: 438.5 kB / 0.7755 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005417/0.7632, allocations: 0.5831 MB / 0.7761 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003178/0.7664, allocations: 2.934 MB / 0.779 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7664, allocations: 5.203 kB / 0.779 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7664, allocations: 1 kB / 0.779 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.7664, allocations: 0 / 0.779 GB, free: 1.332 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.002822/0.7692, allocations: 1.667 MB / 0.7806 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.7693, allocations: 8.969 kB / 0.7806 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.7694, allocations: 123.8 kB / 0.7807 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.7711, allocations: 298.8 kB / 0.781 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009437/0.7721, allocations: 0.7685 MB / 0.7818 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.7721, allocations: 55.39 kB / 0.7818 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.7722, allocations: 68.19 kB / 0.7819 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.7735, allocations: 1.002 MB / 0.7829 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.7735, allocations: 5.688 kB / 0.7829 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-05/0.7736, allocations: 25.39 kB / 0.7829 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.688e-05/0.7737, allocations: 75.56 kB / 0.783 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.775, allocations: 1.01 MB / 0.784 GB, free: 15.93 MB / 0.5919 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.004837/0.7799, allocations: 3.594 MB / 0.7875 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008958/0.7808, allocations: 0.6545 MB / 0.7881 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004464/0.7812, allocations: 384.8 kB / 0.7885 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.7815, allocations: 191.9 kB / 0.7887 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.7815, allocations: 40 kB / 0.7887 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.385e-06/0.7815, allocations: 0 / 0.7887 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=62): time 0.001591/0.7831, allocations: 1.026 MB / 0.7897 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.7832, allocations: 109.3 kB / 0.7898 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.784, allocations: 0.804 MB / 0.7906 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/0.784, allocations: 41.2 kB / 0.7906 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.7843, allocations: 427 kB / 0.791 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.7845, allocations: 219.5 kB / 0.7912 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.7847, allocations: 146.2 kB / 0.7914 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7848, allocations: 334.8 kB / 0.7917 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/0.7853, allocations: 341.9 kB / 0.792 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.7858, allocations: 467.4 kB / 0.7925 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009656/0.7868, allocations: 0.764 MB / 0.7932 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7868, allocations: 0.9062 kB / 0.7932 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001252/0.7881, allocations: 0.9318 MB / 0.7941 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.7881, allocations: 5.5 kB / 0.7941 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.7881, allocations: 3.406 kB / 0.7941 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.7881, allocations: 8.453 kB / 0.7941 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.7888, allocations: 151.1 kB / 0.7943 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.7888, allocations: 7.438 kB / 0.7943 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006919/0.7895, allocations: 78.28 kB / 0.7944 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/0.7895, allocations: 35.33 kB / 0.7944 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00068/0.7902, allocations: 0.5392 MB / 0.7949 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005394/0.7908, allocations: 452.5 kB / 0.7954 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009748/0.7918, allocations: 0.7292 MB / 0.7961 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.7918, allocations: 5.969 kB / 0.7961 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001238/0.793, allocations: 0.8842 MB / 0.7969 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.793, allocations: 8.562 kB / 0.797 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.793, allocations: 3.469 kB / 0.797 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/0.7931, allocations: 5.156 kB / 0.797 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.7937, allocations: 149.5 kB / 0.7971 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.7937, allocations: 15.86 kB / 0.7971 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000667/0.7944, allocations: 60.28 kB / 0.7972 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.7944, allocations: 33.89 kB / 0.7972 GB, free: 12.55 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0001717/0.7946, allocations: 225.2 kB / 0.7974 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.7948, allocations: 93.19 kB / 0.7975 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.7959, allocations: 0.8075 MB / 0.7983 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.7959, allocations: 7.719 kB / 0.7983 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7959, allocations: 0 / 0.7983 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009234/0.7969, allocations: 0.7439 MB / 0.799 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.7995, allocations: 2.103 MB / 0.8011 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.7995, allocations: 3.531 kB / 0.8011 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.8001, allocations: 133 kB / 0.8012 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.8001, allocations: 6.344 kB / 0.8012 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.8002, allocations: 18.5 kB / 0.8012 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.8002, allocations: 11.06 kB / 0.8013 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.8002, allocations: 4.141 kB / 0.8013 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.8017, allocations: 1.363 MB / 0.8026 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.8021, allocations: 249.2 kB / 0.8028 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.8022, allocations: 18.84 kB / 0.8028 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/0.8028, allocations: 22.78 kB / 0.8029 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.8029, allocations: 51 kB / 0.8029 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.8029, allocations: 20.53 kB / 0.8029 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005831/0.8035, allocations: 0.5581 MB / 0.8035 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8035, allocations: 0 / 0.8035 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001421/0.8049, allocations: 0.7495 MB / 0.8042 GB, free: 10.97 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.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 (64): * Single equations (assignments): 64 * 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.00269/0.8076, allocations: 2.349 MB / 0.8065 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.8095, allocations: 1.316 MB / 0.8078 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.8095, allocations: 1.938 kB / 0.8078 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004492/0.81, allocations: 374.9 kB / 0.8081 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.8122, allocations: 0.5377 MB / 0.8087 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008888/0.8211, allocations: 8.254 MB / 0.8167 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.8217, allocations: 1.074 MB / 0.8178 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001208/0.8229, allocations: 419.6 kB / 0.8182 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/0.8234, allocations: 339.3 kB / 0.8185 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of SimCode: time 1.362e-06/0.8234, allocations: 0 / 0.8185 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05114/0.8745, allocations: 31.14 MB / 0.8489 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.626, allocations: 20.06 kB / 0.8489 GB, free: 6.352 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)