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.001634/0.001634, allocations: 106.1 kB / 16.4 MB, free: 6.508 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.001938/0.001939, allocations: 192 kB / 17.34 MB, free: 5.734 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.264/1.264, 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.701/0.701, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 66.66 kB / 0.568 GB, free: 28.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1357, allocations: 77.93 MB / 0.6441 GB, free: 9.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.4921/0.6278, allocations: 187.8 MB / 0.8275 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.6415, allocations: 10.76 MB / 0.838 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.6428, allocations: 40.91 kB / 0.838 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.6441, allocations: 0.5092 MB / 0.8385 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005804/0.6499, allocations: 2.654 MB / 0.8411 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005441/0.6554, allocations: 2.467 MB / 0.8435 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002915/0.6583, allocations: 2.78 MB / 0.8463 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000909/0.6592, allocations: 0.7729 MB / 0.847 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.6606, allocations: 1.027 MB / 0.848 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.6622, allocations: 1.054 MB / 0.849 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.6623, allocations: 101.8 kB / 0.8491 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00501/0.6673, allocations: 3.019 MB / 0.8521 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004021/0.6677, allocations: 442.4 kB / 0.8525 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005454/0.6683, allocations: 0.5796 MB / 0.8531 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004162/0.6725, allocations: 2.965 MB / 0.856 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.6725, allocations: 4 kB / 0.856 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6725, allocations: 0 / 0.856 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.6725, allocations: 4 kB / 0.856 GB, free: 2.984 MB / 0.6075 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.003147/0.6757, allocations: 1.725 MB / 0.8577 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.6757, allocations: 12.62 kB / 0.8577 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.6759, allocations: 114.5 kB / 0.8578 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.6777, allocations: 299 kB / 0.8581 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.679, allocations: 0.8398 MB / 0.8589 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.679, allocations: 57.2 kB / 0.8589 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.6791, allocations: 63.98 kB / 0.859 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.6806, allocations: 0.993 MB / 0.86 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.6806, allocations: 0 / 0.86 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.967e-05/0.6807, allocations: 35.97 kB / 0.86 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-05/0.6808, allocations: 73.95 kB / 0.8601 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.6823, allocations: 1.011 MB / 0.8611 GB, free: 13.64 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.005303/0.6876, allocations: 3.579 MB / 0.8646 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.6887, allocations: 0.6646 MB / 0.8652 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.6892, allocations: 382.4 kB / 0.8656 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.6894, allocations: 190.8 kB / 0.8658 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.6894, allocations: 47.53 kB / 0.8658 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=62): time 1.764e-06/0.6895, allocations: 0 / 0.8658 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of matching and sorting (n=62): time 0.001755/0.6912, allocations: 1.025 MB / 0.8668 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.6913, allocations: 111.4 kB / 0.8669 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008763/0.6922, allocations: 0.802 MB / 0.8677 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.6922, allocations: 37.7 kB / 0.8677 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.6925, allocations: 436.7 kB / 0.8681 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.6927, allocations: 230 kB / 0.8684 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.6929, allocations: 138.6 kB / 0.8685 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.693, allocations: 338 kB / 0.8688 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005139/0.6935, allocations: 345.5 kB / 0.8691 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006004/0.6942, allocations: 464.7 kB / 0.8696 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.6952, allocations: 0.7665 MB / 0.8703 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.6952, allocations: 0 / 0.8703 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00139/0.6966, allocations: 0.9416 MB / 0.8713 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.6967, allocations: 4 kB / 0.8713 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6967, allocations: 4.281 kB / 0.8713 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.6967, allocations: 9.125 kB / 0.8713 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006545/0.6974, allocations: 155.7 kB / 0.8714 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.6974, allocations: 4 kB / 0.8714 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007011/0.6981, allocations: 83.39 kB / 0.8715 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/0.6981, allocations: 27.98 kB / 0.8715 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007192/0.6989, allocations: 0.537 MB / 0.8721 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005776/0.6995, allocations: 450.5 kB / 0.8725 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009778/0.7004, allocations: 0.7408 MB / 0.8732 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.7005, allocations: 0 / 0.8732 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.0013/0.7018, allocations: 0.8948 MB / 0.8741 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.7018, allocations: 8 kB / 0.8741 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.7018, allocations: 0 / 0.8741 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.7018, allocations: 8.125 kB / 0.8741 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006245/0.7024, allocations: 151.8 kB / 0.8742 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.7024, allocations: 4 kB / 0.8742 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006672/0.7031, allocations: 68.73 kB / 0.8743 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.7032, allocations: 28 kB / 0.8743 GB, free: 15.52 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.0001848/0.7034, allocations: 224.1 kB / 0.8746 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.7035, allocations: 99.39 kB / 0.8746 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.7048, allocations: 0.8008 MB / 0.8754 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.7048, allocations: 12.08 kB / 0.8754 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7048, allocations: 0 / 0.8754 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009765/0.7058, allocations: 0.7399 MB / 0.8762 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/0.7087, allocations: 2.101 MB / 0.8782 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/0.7087, allocations: 7.938 kB / 0.8782 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006226/0.7093, allocations: 131.8 kB / 0.8784 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.7093, allocations: 4 kB / 0.8784 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.7094, allocations: 16 kB / 0.8784 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.7094, allocations: 20.3 kB / 0.8784 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7094, allocations: 8 kB / 0.8784 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.7111, allocations: 1.352 MB / 0.8797 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.7115, allocations: 268.3 kB / 0.88 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.7116, allocations: 16 kB / 0.88 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005436/0.7122, allocations: 25.86 kB / 0.88 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.7123, allocations: 48.25 kB / 0.8801 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.7123, allocations: 24 kB / 0.8801 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006144/0.7129, allocations: 0.5576 MB / 0.8806 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7129, allocations: 4 kB / 0.8806 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001496/0.7144, allocations: 0.7558 MB / 0.8814 GB, free: 8.105 MB / 0.6387 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.00294/0.7174, allocations: 2.361 MB / 0.8837 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.7192, allocations: 1.182 MB / 0.8848 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7192, allocations: 4 kB / 0.8848 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004868/0.7197, allocations: 367.6 kB / 0.8852 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.7219, allocations: 0.5343 MB / 0.8857 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009556/0.7315, allocations: 7.916 MB / 0.8934 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.7321, allocations: 1.077 MB / 0.8945 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001106/0.7332, allocations: 421.6 kB / 0.8949 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/0.7337, allocations: 335.3 kB / 0.8952 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.7337, allocations: 0 / 0.8952 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05514/0.7888, allocations: 31.38 MB / 0.9259 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.95, allocations: 6.438 kB / 0.9259 GB, free: 10.52 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)