Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.001276/0.001276, allocations: 106.2 kB / 16.4 MB, free: 6.512 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.001207/0.001207, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7874/0.7874, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 72.55 kB / 0.5736 GB, free: 27.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1342, allocations: 78.86 MB / 0.6506 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.504/0.6382, allocations: 210 MB / 0.8556 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.6524, allocations: 9.882 MB / 0.8653 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.6538, allocations: 57.66 kB / 0.8653 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.6556, allocations: 0.7676 MB / 0.8661 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006003/0.6616, allocations: 2.804 MB / 0.8688 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.6648, allocations: 1.392 MB / 0.8702 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004913/0.6698, allocations: 4.072 MB / 0.8742 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.6714, allocations: 1.323 MB / 0.8754 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002937/0.6744, allocations: 1.752 MB / 0.8772 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002111/0.6765, allocations: 1.219 MB / 0.8784 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.6767, allocations: 144 kB / 0.8785 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004217/0.6809, allocations: 2.362 MB / 0.8808 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000618/0.6816, allocations: 0.6078 MB / 0.8814 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009274/0.6825, allocations: 0.8556 MB / 0.8822 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003863/0.6864, allocations: 3.01 MB / 0.8852 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.6864, allocations: 4 kB / 0.8852 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6864, allocations: 0 / 0.8852 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.6864, allocations: 0 / 0.8852 GB, free: 3.051 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002906/0.6893, allocations: 1.949 MB / 0.8871 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.6894, allocations: 11.97 kB / 0.8871 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002155/0.6896, allocations: 172.8 kB / 0.8872 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.6926, allocations: 490.5 kB / 0.8877 GB, free: 380 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.6944, allocations: 1.14 MB / 0.8888 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/0.6945, allocations: 82.14 kB / 0.8889 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.6947, allocations: 120 kB / 0.889 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.6967, allocations: 1.153 MB / 0.8901 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.6967, allocations: 3.984 kB / 0.8901 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.6968, allocations: 48 kB / 0.8902 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/0.6969, allocations: 38.14 kB / 0.8902 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.6986, allocations: 1.074 MB / 0.8913 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005837/0.7045, allocations: 4.437 MB / 0.8956 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.7057, allocations: 0.7934 MB / 0.8964 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006929/0.7064, allocations: 482.5 kB / 0.8968 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004263/0.7068, allocations: 300.3 kB / 0.8971 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.7069, allocations: 51.5 kB / 0.8972 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=83): time 2.154e-06/0.7069, allocations: 3.938 kB / 0.8972 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of matching and sorting (n=89): time 0.005347/0.7123, allocations: 2.862 MB / 0.9 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.7123, allocations: 60.41 kB / 0.9 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.7135, allocations: 0.9755 MB / 0.901 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/0.7136, allocations: 49.7 kB / 0.901 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/0.7141, allocations: 0.5482 MB / 0.9016 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.7144, allocations: 329.1 kB / 0.9019 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.7146, allocations: 154.6 kB / 0.902 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.7148, allocations: 345.9 kB / 0.9024 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000533/0.7153, allocations: 337.8 kB / 0.9027 GB, free: 404 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/0.716, allocations: 486 kB / 0.9032 GB, free: 15.88 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006117/0.7222, allocations: 3.037 MB / 0.9061 GB, free: 12.75 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7222, allocations: 0 / 0.9061 GB, free: 12.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001565/0.7237, allocations: 1.02 MB / 0.9071 GB, free: 11.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.7238, allocations: 9.25 kB / 0.9071 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.7238, allocations: 4 kB / 0.9071 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.7238, allocations: 4 kB / 0.9071 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007403/0.7245, allocations: 183.7 kB / 0.9073 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.7246, allocations: 8 kB / 0.9073 GB, free: 11.53 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008357/0.7254, allocations: 28.36 kB / 0.9073 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.927e-05/0.7255, allocations: 32 kB / 0.9074 GB, free: 11.47 MB / 0.67 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.000525/0.726, allocations: 385.4 kB / 0.9077 GB, free: 11.08 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.7262, allocations: 135.2 kB / 0.9079 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.7265, allocations: 140.3 kB / 0.908 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.7265, allocations: 11.98 kB / 0.908 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.7266, allocations: 0 / 0.908 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001578/0.7281, allocations: 1.105 MB / 0.9091 GB, free: 9.613 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/0.7328, allocations: 3.051 MB / 0.9121 GB, free: 6.387 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.7328, allocations: 16 kB / 0.9121 GB, free: 6.371 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006971/0.7335, allocations: 159.7 kB / 0.9122 GB, free: 6.215 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003162/0.7339, allocations: 98.06 kB / 0.9123 GB, free: 6.113 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/0.734, allocations: 36 kB / 0.9124 GB, free: 6.078 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002679/0.7366, allocations: 3.083 MB / 0.9154 GB, free: 2.719 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/0.7367, allocations: 11.94 kB / 0.9154 GB, free: 2.707 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.7391, allocations: 1.738 MB / 0.9171 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004772/0.7396, allocations: 320.1 kB / 0.9174 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.7397, allocations: 32 kB / 0.9174 GB, free: 476 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000853/0.7406, allocations: 40.92 kB / 0.9175 GB, free: 436 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.7407, allocations: 88.09 kB / 0.9175 GB, free: 348 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.263e-05/0.7408, allocations: 44.11 kB / 0.9176 GB, free: 304 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009305/0.7418, allocations: 0.6994 MB / 0.9183 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7418, allocations: 0 / 0.9183 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001029/0.7428, allocations: 379.9 kB / 0.9186 GB, free: 15.22 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003135/0.7459, allocations: 2.429 MB / 0.921 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.7473, allocations: 0.8512 MB / 0.9218 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.7473, allocations: 4 kB / 0.9218 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009667/0.7483, allocations: 0.6616 MB / 0.9225 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/0.7522, allocations: 0.9282 MB / 0.9234 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.7652, allocations: 9.714 MB / 0.9329 GB, free: 40 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009652/0.7662, allocations: 1.253 MB / 0.9341 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001101/0.7673, allocations: 343 kB / 0.9344 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006523/0.768, allocations: 467.3 kB / 0.9349 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of SimCode: time 8.22e-07/0.768, allocations: 4 kB / 0.9349 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07661/0.8446, allocations: 38.41 MB / 0.9724 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.24, allocations: 4.578 kB / 0.9724 GB, free: 8.008 MB / 0.7325 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)