Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.056/3.056, allocations: 287.5 MB / 302.4 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00138/0.00138, allocations: 178 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.203/2.203, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001007, allocations: 82.38 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007309/0.0007313, allocations: 16.7 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2478, allocations: 115.3 MB / 0.9784 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.9909/1.239, allocations: 173.3 MB / 1.148 GB, free: 10.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01415/1.253, allocations: 5.332 MB / 1.153 GB, free: 8.605 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/1.255, allocations: 33.28 kB / 1.153 GB, free: 8.59 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002384/1.258, allocations: 394 kB / 1.153 GB, free: 8.375 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006318/1.264, allocations: 1.197 MB / 1.154 GB, free: 7.652 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005167/1.269, allocations: 0.8905 MB / 1.155 GB, free: 7.031 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006573/1.276, allocations: 2.959 MB / 1.158 GB, free: 5.305 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/1.278, allocations: 0.7353 MB / 1.159 GB, free: 4.871 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00357/1.282, allocations: 0.8589 MB / 1.16 GB, free: 4.414 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002711/1.285, allocations: 0.7935 MB / 1.161 GB, free: 3.984 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004913/1.285, allocations: 42.72 kB / 1.161 GB, free: 3.984 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00483/1.29, allocations: 0.9212 MB / 1.161 GB, free: 3.512 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001324/1.291, allocations: 431.8 kB / 1.162 GB, free: 3.246 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/1.293, allocations: 252.8 kB / 1.162 GB, free: 3.109 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004449/1.297, allocations: 1.522 MB / 1.164 GB, free: 2.141 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/1.297, allocations: 4 kB / 1.164 GB, free: 2.137 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.796e-06/1.297, allocations: 0 / 1.164 GB, free: 2.137 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.106e-05/1.297, allocations: 1.062 kB / 1.164 GB, free: 2.137 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.004954/1.302, allocations: 1.291 MB / 1.165 GB, free: 1.148 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.596e-05/1.302, allocations: 13.83 kB / 1.165 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006805/1.303, allocations: 144.4 kB / 1.165 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00578/1.309, allocations: 0.4892 MB / 1.166 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003331/1.312, allocations: 0.7888 MB / 1.166 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007494/1.313, allocations: 131.3 kB / 1.166 GB, free: 160 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004728/1.313, allocations: 85.44 kB / 1.166 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004811/1.318, allocations: 1.193 MB / 1.168 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-05/1.318, allocations: 4 kB / 1.168 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002283/1.319, allocations: 37.5 kB / 1.168 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/1.319, allocations: 40.72 kB / 1.168 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005543/1.324, allocations: 1.101 MB / 1.169 GB, free: 14.89 MB / 0.7136 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.01481/1.339, allocations: 4.364 MB / 1.173 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00392/1.343, allocations: 0.8002 MB / 1.174 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/1.345, allocations: 420.1 kB / 1.174 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/1.346, allocations: 109.8 kB / 1.174 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/1.346, allocations: 39.25 kB / 1.174 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.607e-06/1.346, allocations: 0 / 1.174 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.01174/1.357, allocations: 2.28 MB / 1.177 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/1.358, allocations: 58.06 kB / 1.177 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/1.359, allocations: 0.8518 MB / 1.178 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002506/1.36, allocations: 34.8 kB / 1.178 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005894/1.36, allocations: 0.4896 MB / 1.178 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/1.361, allocations: 163.4 kB / 1.178 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/1.361, allocations: 14.94 kB / 1.178 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.361, allocations: 325.8 kB / 1.179 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/1.363, allocations: 395.3 kB / 1.179 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/1.365, allocations: 0.5328 MB / 1.179 GB, free: 7.387 MB / 0.7136 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.008574/1.374, allocations: 1.546 MB / 1.181 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.374, allocations: 3.938 kB / 1.181 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004696/1.378, allocations: 1.021 MB / 1.182 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/1.379, allocations: 5.719 kB / 1.182 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.379, allocations: 7 kB / 1.182 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/1.379, allocations: 7.75 kB / 1.182 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/1.381, allocations: 215.1 kB / 1.182 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-05/1.381, allocations: 11.75 kB / 1.182 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/1.383, allocations: 119.5 kB / 1.182 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/1.383, allocations: 27.3 kB / 1.182 GB, free: 6.012 MB / 0.7136 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 (73): * Single equations (assignments): 73 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009393/1.384, allocations: 310.3 kB / 1.183 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/1.385, allocations: 89.78 kB / 1.183 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/1.385, allocations: 109.6 kB / 1.183 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.385, allocations: 2.844 kB / 1.183 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/1.385, allocations: 1.75 kB / 1.183 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003808/1.389, allocations: 1.067 MB / 1.184 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00962/1.399, allocations: 2.198 MB / 1.186 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/1.399, allocations: 6.5 kB / 1.186 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/1.4, allocations: 194 kB / 1.186 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.778e-05/1.401, allocations: 5.125 kB / 1.186 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/1.401, allocations: 14.2 kB / 1.186 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/1.401, allocations: 4.562 kB / 1.186 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.401, allocations: 9.938 kB / 1.186 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006163/1.407, allocations: 1.503 MB / 1.188 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.408, allocations: 255.3 kB / 1.188 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/1.408, allocations: 20.5 kB / 1.188 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002206/1.411, allocations: 110.7 kB / 1.188 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/1.411, allocations: 31.7 kB / 1.188 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/1.411, allocations: 30.14 kB / 1.188 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001346/1.412, allocations: 0.5943 MB / 1.189 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/1.412, allocations: 0 / 1.189 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001915/1.414, allocations: 271.8 kB / 1.189 GB, free: 1.852 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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 (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007325/1.422, allocations: 2.157 MB / 1.191 GB, free: 396 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004071/1.426, allocations: 0.8461 MB / 1.192 GB, free: 8 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/1.426, allocations: 1.75 kB / 1.192 GB, free: 8 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/1.428, allocations: 417.1 kB / 1.192 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005374/1.433, allocations: 0.5606 MB / 1.193 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02381/1.457, allocations: 6.421 MB / 1.199 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.458, allocations: 1.11 MB / 1.2 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002005/1.46, allocations: 251.8 kB / 1.2 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.462, allocations: 355.3 kB / 1.201 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of SimCode: time 1.362e-06/1.462, allocations: 0 / 1.201 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09018/1.552, allocations: 28.11 MB / 1.228 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004749/1.553, allocations: 285.7 kB / 1.228 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.791/5.344, allocations: 0 / 1.228 GB, free: 11.18 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)