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.001266/0.001266, allocations: 106.9 kB / 16.41 MB, free: 6.035 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.001241/0.001241, allocations: 194.5 kB / 17.34 MB, free: 5.629 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8038/0.8038, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 68.92 kB / 0.5735 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1373, allocations: 78.88 MB / 0.6506 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.4842/0.6215, allocations: 187.9 MB / 0.834 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0149/0.6365, allocations: 10.77 MB / 0.8446 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.6375, allocations: 42.22 kB / 0.8446 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.6388, allocations: 493.4 kB / 0.8451 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005715/0.6445, allocations: 2.591 MB / 0.8476 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005413/0.65, allocations: 2.453 MB / 0.85 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003096/0.6531, allocations: 2.768 MB / 0.8527 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000914/0.654, allocations: 0.7799 MB / 0.8535 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.6558, allocations: 1.195 MB / 0.8546 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.6574, allocations: 1.055 MB / 0.8556 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.6576, allocations: 97.72 kB / 0.8557 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005053/0.6626, allocations: 2.997 MB / 0.8587 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004628/0.6631, allocations: 442.7 kB / 0.8591 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006228/0.6637, allocations: 0.5832 MB / 0.8597 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004081/0.6678, allocations: 2.967 MB / 0.8626 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6678, allocations: 0 / 0.8626 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6678, allocations: 0 / 0.8626 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.6679, allocations: 0 / 0.8626 GB, free: 10.09 MB / 0.6231 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.003274/0.6711, allocations: 1.721 MB / 0.8642 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.6712, allocations: 12.03 kB / 0.8643 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.6714, allocations: 118.4 kB / 0.8644 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.6732, allocations: 303 kB / 0.8647 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.6746, allocations: 0.832 MB / 0.8655 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/0.6747, allocations: 53.3 kB / 0.8655 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.6748, allocations: 63.98 kB / 0.8656 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.6764, allocations: 0.996 MB / 0.8666 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.6764, allocations: 0 / 0.8666 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-05/0.6765, allocations: 27.98 kB / 0.8666 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.986e-05/0.6766, allocations: 77.89 kB / 0.8667 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.6783, allocations: 1.011 MB / 0.8676 GB, free: 4.758 MB / 0.6231 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.005943/0.6843, allocations: 3.666 MB / 0.8712 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.6854, allocations: 0.6537 MB / 0.8719 GB, free: 184 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005983/0.686, allocations: 374.4 kB / 0.8722 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/0.6863, allocations: 198.6 kB / 0.8724 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.6864, allocations: 43.12 kB / 0.8724 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=62): time 1.863e-06/0.6864, allocations: 0 / 0.8724 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of matching and sorting (n=62): time 0.001962/0.6883, allocations: 1.029 MB / 0.8735 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.6884, allocations: 115.4 kB / 0.8736 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.6895, allocations: 0.798 MB / 0.8743 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/0.6895, allocations: 37.7 kB / 0.8744 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.6899, allocations: 428.8 kB / 0.8748 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.6901, allocations: 237.9 kB / 0.875 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.6904, allocations: 142.6 kB / 0.8751 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.6905, allocations: 337.9 kB / 0.8755 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005825/0.6911, allocations: 344.7 kB / 0.8758 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006924/0.6918, allocations: 465.8 kB / 0.8762 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.6931, allocations: 0.7743 MB / 0.877 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6931, allocations: 0 / 0.877 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001532/0.6946, allocations: 0.93 MB / 0.8779 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6946, allocations: 8 kB / 0.8779 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.6946, allocations: 0 / 0.8779 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.6947, allocations: 8.281 kB / 0.8779 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/0.6953, allocations: 151.8 kB / 0.8781 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.6953, allocations: 4 kB / 0.8781 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006702/0.696, allocations: 88.38 kB / 0.8782 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/0.6961, allocations: 24 kB / 0.8782 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008009/0.6969, allocations: 0.5378 MB / 0.8787 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006453/0.6976, allocations: 462.4 kB / 0.8791 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001111/0.6987, allocations: 0.7292 MB / 0.8799 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/0.6987, allocations: 3.938 kB / 0.8799 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001454/0.7001, allocations: 0.8987 MB / 0.8807 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.7002, allocations: 4 kB / 0.8807 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.7002, allocations: 4 kB / 0.8807 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/0.7002, allocations: 4 kB / 0.8807 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006434/0.7008, allocations: 151.7 kB / 0.8809 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.7009, allocations: 10.27 kB / 0.8809 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006721/0.7015, allocations: 64.48 kB / 0.881 GB, free: 6.566 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/0.7016, allocations: 28.23 kB / 0.881 GB, free: 6.539 MB / 0.6387 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.0002074/0.7018, allocations: 224.1 kB / 0.8812 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.702, allocations: 99.39 kB / 0.8813 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.7034, allocations: 0.8008 MB / 0.8821 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.7034, allocations: 4 kB / 0.8821 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7034, allocations: 0 / 0.8821 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001079/0.7045, allocations: 0.7439 MB / 0.8828 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.7076, allocations: 2.101 MB / 0.8849 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.7077, allocations: 8 kB / 0.8849 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/0.7083, allocations: 131.8 kB / 0.885 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.7083, allocations: 7.938 kB / 0.885 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.028e-05/0.7084, allocations: 23.98 kB / 0.885 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.7084, allocations: 8.375 kB / 0.885 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.7084, allocations: 7.938 kB / 0.885 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.7103, allocations: 1.368 MB / 0.8864 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/0.7107, allocations: 256.3 kB / 0.8866 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.7108, allocations: 19.98 kB / 0.8866 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/0.7113, allocations: 23.98 kB / 0.8867 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.7114, allocations: 44.27 kB / 0.8867 GB, free: 476 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.7115, allocations: 28 kB / 0.8867 GB, free: 448 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007136/0.7122, allocations: 0.5576 MB / 0.8873 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7122, allocations: 0 / 0.8873 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001657/0.7139, allocations: 0.7597 MB / 0.888 GB, free: 15.12 MB / 0.6544 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.003362/0.7173, allocations: 2.345 MB / 0.8903 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.7193, allocations: 1.19 MB / 0.8915 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7193, allocations: 0 / 0.8915 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005443/0.7198, allocations: 371.7 kB / 0.8918 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.7222, allocations: 0.5323 MB / 0.8923 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.7329, allocations: 7.918 MB / 0.9001 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007352/0.7337, allocations: 1.077 MB / 0.9011 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001171/0.7349, allocations: 414.3 kB / 0.9015 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005047/0.7354, allocations: 335.3 kB / 0.9018 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of SimCode: time 9.02e-07/0.7354, allocations: 0 / 0.9018 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06413/0.7995, allocations: 31.38 MB / 0.9325 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.55, allocations: 12.05 kB / 0.9325 GB, free: 1.523 MB / 0.6856 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)