Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.001303/0.001303, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9818/0.9818, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.88 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1489, allocations: 82.04 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4434/0.5923, allocations: 170.8 MB / 0.7612 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005296/0.5976, allocations: 3.379 MB / 0.7645 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005705/0.5982, allocations: 20.81 kB / 0.7645 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008282/0.5991, allocations: 318.1 kB / 0.7648 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.6012, allocations: 1.019 MB / 0.7658 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.6027, allocations: 0.6487 MB / 0.7665 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001522/0.6042, allocations: 1.525 MB / 0.7679 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006027/0.6048, allocations: 493.3 kB / 0.7684 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008019/0.6056, allocations: 0.5487 MB / 0.7689 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009864/0.6066, allocations: 470 kB / 0.7694 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.399e-05/0.6067, allocations: 56 kB / 0.7695 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.6082, allocations: 0.834 MB / 0.7703 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.6085, allocations: 243.3 kB / 0.7705 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.6088, allocations: 338.6 kB / 0.7708 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.6102, allocations: 1.157 MB / 0.772 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6102, allocations: 0 / 0.772 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6102, allocations: 0 / 0.772 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.6102, allocations: 0 / 0.772 GB, free: 7.375 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001394/0.6116, allocations: 0.9158 MB / 0.7728 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.6117, allocations: 12.03 kB / 0.7729 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.381e-05/0.6118, allocations: 87.02 kB / 0.7729 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.613, allocations: 171.2 kB / 0.7731 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006852/0.6137, allocations: 0.5052 MB / 0.7736 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.6137, allocations: 29 kB / 0.7736 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/0.6138, allocations: 40 kB / 0.7737 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007272/0.6145, allocations: 483 kB / 0.7741 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.6145, allocations: 4 kB / 0.7741 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.6146, allocations: 20 kB / 0.7741 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.6146, allocations: 13 kB / 0.7742 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006194/0.6153, allocations: 417.4 kB / 0.7746 GB, free: 4.602 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.002376/0.6176, allocations: 1.748 MB / 0.7763 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.6181, allocations: 291.9 kB / 0.7765 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.6184, allocations: 182.7 kB / 0.7767 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001646/0.6185, allocations: 105.1 kB / 0.7768 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.6186, allocations: 45.69 kB / 0.7769 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.814e-06/0.6186, allocations: 0 / 0.7769 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001898/0.6205, allocations: 1.059 MB / 0.7779 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.6205, allocations: 51.41 kB / 0.7779 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.621, allocations: 461.9 kB / 0.7784 GB, free: 456 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.621, allocations: 33.7 kB / 0.7784 GB, free: 416 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.6212, allocations: 252.1 kB / 0.7787 GB, free: 156 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.998e-05/0.6213, allocations: 118.3 kB / 0.7788 GB, free: 36 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.6215, allocations: 65.7 kB / 0.7788 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6216, allocations: 358.8 kB / 0.7792 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.6218, allocations: 123.9 kB / 0.7793 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.6221, allocations: 202.9 kB / 0.7795 GB, free: 15.27 MB / 0.6075 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/0.624, allocations: 0.8688 MB / 0.7803 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.624, allocations: 0 / 0.7803 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005845/0.6246, allocations: 412.7 kB / 0.7807 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.6246, allocations: 7.984 kB / 0.7807 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6246, allocations: 4 kB / 0.7807 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.6246, allocations: 0 / 0.7807 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.625, allocations: 72.09 kB / 0.7808 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.625, allocations: 7.938 kB / 0.7808 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/0.6254, allocations: 15.94 kB / 0.7808 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.6254, allocations: 12 kB / 0.7808 GB, free: 13.84 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.000235/0.6257, allocations: 218.3 kB / 0.781 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.119e-05/0.6258, allocations: 51.38 kB / 0.7811 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.6259, allocations: 60.77 kB / 0.7812 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.6259, allocations: 4 kB / 0.7812 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6259, allocations: 4 kB / 0.7812 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004694/0.6264, allocations: 404.3 kB / 0.7815 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.6281, allocations: 1.25 MB / 0.7828 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.6281, allocations: 4.5 kB / 0.7828 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.6284, allocations: 79.91 kB / 0.7829 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.6285, allocations: 4 kB / 0.7829 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.6285, allocations: 12 kB / 0.7829 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.6285, allocations: 11.92 kB / 0.7829 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.6285, allocations: 4.625 kB / 0.7829 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/0.6293, allocations: 0.6961 MB / 0.7836 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.6295, allocations: 168.5 kB / 0.7837 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.65e-05/0.6296, allocations: 15.98 kB / 0.7837 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.63, allocations: 15.94 kB / 0.7838 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.6301, allocations: 35.91 kB / 0.7838 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.6302, allocations: 23.98 kB / 0.7838 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003282/0.6305, allocations: 331.1 kB / 0.7841 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6305, allocations: 0 / 0.7841 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005245/0.631, allocations: 144 kB / 0.7843 GB, free: 10.11 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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.001271/0.6323, allocations: 1.323 MB / 0.7856 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005531/0.6329, allocations: 351.2 kB / 0.7859 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.6329, allocations: 4 kB / 0.7859 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.6331, allocations: 164.9 kB / 0.7861 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.6349, allocations: 365.6 kB / 0.7864 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005083/0.64, allocations: 4.475 MB / 0.7908 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.6404, allocations: 0.8862 MB / 0.7916 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004935/0.6409, allocations: 133.8 kB / 0.7918 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.6411, allocations: 167.4 kB / 0.7919 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.6411, allocations: 0 / 0.7919 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.6775, allocations: 15.39 MB / 0.807 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/8.165, allocations: 8.062 kB / 0.807 GB, free: 2.934 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)