Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.0008199/0.0008199, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001052/0.001052, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.177/1.177, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003777, allocations: 16 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1824, allocations: 83.41 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5877/0.7702, allocations: 173.5 MB / 0.7669 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.781, allocations: 5.406 MB / 0.7722 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.783, allocations: 35.75 kB / 0.7722 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.7845, allocations: 397.5 kB / 0.7726 GB, free: 8.762 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004609/0.7891, allocations: 1.38 MB / 0.774 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.7919, allocations: 0.8545 MB / 0.7748 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004629/0.7966, allocations: 3.442 MB / 0.7782 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.7979, allocations: 0.7117 MB / 0.7789 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.7999, allocations: 0.8751 MB / 0.7797 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.8014, allocations: 0.8684 MB / 0.7806 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.8015, allocations: 40 kB / 0.7806 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.8037, allocations: 0.7054 MB / 0.7813 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004556/0.8042, allocations: 382.8 kB / 0.7817 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003816/0.8046, allocations: 257.1 kB / 0.7819 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.8065, allocations: 1.555 MB / 0.7834 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8065, allocations: 8 kB / 0.7834 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8065, allocations: 0 / 0.7834 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.8066, allocations: 0 / 0.7834 GB, free: 13.68 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002394/0.809, allocations: 1.297 MB / 0.7847 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.809, allocations: 8.031 kB / 0.7847 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001839/0.8092, allocations: 143.2 kB / 0.7848 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.8112, allocations: 322.2 kB / 0.7851 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.8126, allocations: 0.7933 MB / 0.7859 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.8127, allocations: 62.5 kB / 0.786 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.8128, allocations: 84 kB / 0.7861 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.8145, allocations: 0.9111 MB / 0.787 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.8146, allocations: 0 / 0.787 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.754e-05/0.8146, allocations: 40 kB / 0.787 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.868e-05/0.8147, allocations: 30 kB / 0.787 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.8162, allocations: 0.8315 MB / 0.7878 GB, free: 9.066 MB / 0.6075 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.00579/0.822, allocations: 3.541 MB / 0.7913 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008399/0.8229, allocations: 0.4986 MB / 0.7918 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/0.8234, allocations: 295.6 kB / 0.7921 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.8236, allocations: 113.5 kB / 0.7922 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.8237, allocations: 39 kB / 0.7922 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.434e-06/0.8237, allocations: 0 / 0.7922 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.004328/0.828, allocations: 1.946 MB / 0.7941 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.8281, allocations: 59.84 kB / 0.7942 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.8293, allocations: 0.798 MB / 0.7949 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.206e-05/0.8294, allocations: 37.7 kB / 0.795 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/0.8298, allocations: 475.3 kB / 0.7954 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.8299, allocations: 169.6 kB / 0.7956 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.83, allocations: 12 kB / 0.7956 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.8301, allocations: 330 kB / 0.7959 GB, free: 404 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/0.8305, allocations: 249.2 kB / 0.7962 GB, free: 156 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005228/0.8311, allocations: 357.2 kB / 0.7965 GB, free: 15.77 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002725/0.8338, allocations: 1.005 MB / 0.7975 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8338, allocations: 0 / 0.7975 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001435/0.8353, allocations: 0.8004 MB / 0.7983 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.8353, allocations: 11.98 kB / 0.7983 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.8353, allocations: 0.5469 kB / 0.7983 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002883/0.8356, allocations: 93.66 kB / 0.7984 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/0.8363, allocations: 159.8 kB / 0.7985 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00304/0.8393, allocations: 3.049 MB / 0.8015 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009345/0.8403, allocations: 64.34 kB / 0.8016 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/0.8404, allocations: 20 kB / 0.8016 GB, free: 10.28 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006491/0.841, allocations: 309.5 kB / 0.8019 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.8413, allocations: 98.86 kB / 0.802 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.8416, allocations: 100.7 kB / 0.8021 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.8416, allocations: 8 kB / 0.8021 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.8416, allocations: 0 / 0.8021 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001188/0.8428, allocations: 0.8466 MB / 0.8029 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003784/0.8466, allocations: 1.804 MB / 0.8047 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.8466, allocations: 8.062 kB / 0.8047 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.8473, allocations: 139.8 kB / 0.8048 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002385/0.8475, allocations: 72.75 kB / 0.8049 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.982e-05/0.8476, allocations: 16 kB / 0.8049 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.8492, allocations: 1.645 MB / 0.8065 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.8492, allocations: 4 kB / 0.8065 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.851, allocations: 1.077 MB / 0.8075 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005847/0.8516, allocations: 243.9 kB / 0.8078 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.8518, allocations: 12 kB / 0.8078 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008416/0.8527, allocations: 75.17 kB / 0.8079 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.8528, allocations: 39.84 kB / 0.8079 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-05/0.8529, allocations: 31.98 kB / 0.8079 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000919/0.8538, allocations: 0.5498 MB / 0.8085 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8538, allocations: 0 / 0.8085 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00119/0.855, allocations: 292 kB / 0.8087 GB, free: 2.527 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002304/0.8574, allocations: 1.715 MB / 0.8104 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.8588, allocations: 0.8077 MB / 0.8112 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.8588, allocations: 4 kB / 0.8112 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000691/0.8595, allocations: 415.7 kB / 0.8116 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/0.8623, allocations: 0.5918 MB / 0.8122 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009488/0.8718, allocations: 5.446 MB / 0.8175 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008527/0.8727, allocations: 1.084 MB / 0.8186 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001041/0.8738, allocations: 214.8 kB / 0.8188 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005069/0.8743, allocations: 343.3 kB / 0.8191 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of SimCode: time 1.143e-06/0.8743, allocations: 0 / 0.8191 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05794/0.9323, allocations: 27.34 MB / 0.8458 GB, free: 12.82 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/0.9325, allocations: 282.4 kB / 0.8461 GB, free: 12.46 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/3.452, allocations: 4 kB / 0.8461 GB, free: 12.46 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) Environment - environmentSimulation: