Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.0009646/0.0009645, allocations: 84.22 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.001117/0.001117, 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.396/1.396, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.057/1.057, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004033, allocations: 12 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1989, allocations: 83.42 MB / 0.5975 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.529/0.728, allocations: 173.4 MB / 0.7669 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009644/0.7377, allocations: 5.374 MB / 0.7721 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.7396, allocations: 35.75 kB / 0.7721 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.7413, allocations: 401.5 kB / 0.7725 GB, free: 8.938 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.004395/0.7457, allocations: 1.373 MB / 0.7739 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.7488, allocations: 0.841 MB / 0.7747 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005538/0.7544, allocations: 3.439 MB / 0.778 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.756, allocations: 0.7947 MB / 0.7788 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.7581, allocations: 0.8868 MB / 0.7797 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.7599, allocations: 0.9069 MB / 0.7806 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002683/0.7601, allocations: 44 kB / 0.7806 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.7626, allocations: 0.7093 MB / 0.7813 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007072/0.7633, allocations: 0.4908 MB / 0.7818 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006032/0.7639, allocations: 281.1 kB / 0.782 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.7662, allocations: 1.714 MB / 0.7837 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7663, allocations: 0 / 0.7837 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7663, allocations: 0 / 0.7837 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.614e-05/0.7663, allocations: 0 / 0.7837 GB, free: 13.44 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002733/0.7691, allocations: 1.379 MB / 0.7851 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.7691, allocations: 8.031 kB / 0.7851 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003268/0.7695, allocations: 160.2 kB / 0.7852 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.7716, allocations: 335 kB / 0.7855 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.7732, allocations: 0.8477 MB / 0.7864 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.945e-05/0.7732, allocations: 74 kB / 0.7864 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.7734, allocations: 96 kB / 0.7865 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.7755, allocations: 1.085 MB / 0.7876 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.7755, allocations: 0 / 0.7876 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-05/0.7756, allocations: 44 kB / 0.7876 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/0.7757, allocations: 45.98 kB / 0.7877 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.7774, allocations: 0.9915 MB / 0.7886 GB, free: 8.281 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.006183/0.7836, allocations: 4.265 MB / 0.7928 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009464/0.7845, allocations: 0.5918 MB / 0.7934 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.7851, allocations: 343.6 kB / 0.7937 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002038/0.7853, allocations: 113.5 kB / 0.7938 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.7853, allocations: 43 kB / 0.7939 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 2.484e-06/0.7853, allocations: 0 / 0.7939 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.004372/0.7897, allocations: 2.234 MB / 0.7961 GB, free: 264 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.7898, allocations: 59.91 kB / 0.7961 GB, free: 192 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.791, allocations: 0.8688 MB / 0.797 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/0.791, allocations: 37.7 kB / 0.797 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/0.7915, allocations: 0.5223 MB / 0.7975 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.7917, allocations: 197 kB / 0.7977 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.7917, allocations: 16 kB / 0.7977 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.7919, allocations: 337.9 kB / 0.798 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.7924, allocations: 281.8 kB / 0.7983 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.793, allocations: 437 kB / 0.7987 GB, free: 13.44 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.002817/0.7958, allocations: 1.111 MB / 0.7998 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7958, allocations: 0 / 0.7998 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001585/0.7974, allocations: 0.9301 MB / 0.8007 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.7974, allocations: 8 kB / 0.8007 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.7975, allocations: 4 kB / 0.8007 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002338/0.7977, allocations: 98.45 kB / 0.8008 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/0.7984, allocations: 175.8 kB / 0.801 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003563/0.802, allocations: 4.282 MB / 0.8052 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009584/0.803, allocations: 75.83 kB / 0.8052 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/0.803, allocations: 24 kB / 0.8053 GB, free: 6.305 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: 17 * 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005802/0.8036, allocations: 349.5 kB / 0.8056 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.8038, allocations: 98.88 kB / 0.8057 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.8041, allocations: 109.2 kB / 0.8058 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.8041, allocations: 8 kB / 0.8058 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.8041, allocations: 0 / 0.8058 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/0.8052, allocations: 0.7769 MB / 0.8066 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.8087, allocations: 1.992 MB / 0.8085 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.8087, allocations: 4 kB / 0.8085 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006621/0.8094, allocations: 156.2 kB / 0.8087 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/0.8095, allocations: 44.83 kB / 0.8087 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.8095, allocations: 19.98 kB / 0.8087 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.8108, allocations: 1.481 MB / 0.8102 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.8108, allocations: 7.938 kB / 0.8102 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.8126, allocations: 1.23 MB / 0.8114 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/0.8131, allocations: 255.9 kB / 0.8116 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.8133, allocations: 16 kB / 0.8116 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007948/0.8141, allocations: 78.03 kB / 0.8117 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.657e-05/0.8142, allocations: 43.84 kB / 0.8117 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.372e-05/0.8143, allocations: 31.98 kB / 0.8118 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000831/0.8151, allocations: 0.6044 MB / 0.8124 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8151, allocations: 4 kB / 0.8124 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001031/0.8161, allocations: 312 kB / 0.8127 GB, free: 14.34 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00239/0.8185, allocations: 1.861 MB / 0.8145 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.8201, allocations: 0.9991 MB / 0.8155 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.8201, allocations: 4.188 kB / 0.8155 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.8208, allocations: 450.2 kB / 0.8159 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/0.8235, allocations: 0.634 MB / 0.8165 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.8337, allocations: 6.255 MB / 0.8226 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009134/0.8346, allocations: 1.166 MB / 0.8238 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00117/0.8358, allocations: 253.6 kB / 0.824 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/0.8363, allocations: 387.2 kB / 0.8244 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of SimCode: time 9.42e-07/0.8363, allocations: 0 / 0.8244 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0568/0.8931, allocations: 29.95 MB / 0.8536 GB, free: 4.637 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.8934, allocations: 297.2 kB / 0.8539 GB, free: 4.277 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/3.366, allocations: 2.672 kB / 0.8539 GB, free: 4.277 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) Environment - environmentSimulation: