Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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 2.759/2.759, allocations: 287.5 MB / 302.4 MB, free: 8.215 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.001557/0.001557, allocations: 180.1 kB / 371 MB, free: 10.86 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.23/2.23, allocations: 205.4 MB / 0.6297 GB, free: 10.65 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.0009632/0.0009632, allocations: 98.73 kB / 0.743 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006616/0.0006618, allocations: 12.36 kB / 0.8659 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2332, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 1.009/1.242, allocations: 173.3 MB / 1.148 GB, free: 10.76 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01289/1.255, allocations: 5.323 MB / 1.153 GB, free: 8.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/1.257, allocations: 30 kB / 1.153 GB, free: 8.648 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/1.259, allocations: 403 kB / 1.153 GB, free: 8.43 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.006169/1.265, allocations: 1.351 MB / 1.155 GB, free: 7.547 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004369/1.27, allocations: 0.8424 MB / 1.155 GB, free: 6.953 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006922/1.277, allocations: 3.414 MB / 1.159 GB, free: 4.961 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/1.279, allocations: 0.8013 MB / 1.16 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/1.283, allocations: 0.8775 MB / 1.16 GB, free: 4.051 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00294/1.286, allocations: 0.9073 MB / 1.161 GB, free: 3.562 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005338/1.286, allocations: 46.62 kB / 1.161 GB, free: 3.562 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004229/1.29, allocations: 0.7046 MB / 1.162 GB, free: 3.227 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001344/1.292, allocations: 0.4887 MB / 1.162 GB, free: 2.922 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001018/1.293, allocations: 279.7 kB / 1.163 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004136/1.297, allocations: 1.627 MB / 1.164 GB, free: 1.711 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.297, allocations: 0 / 1.164 GB, free: 1.711 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/1.297, allocations: 1.156 kB / 1.164 GB, free: 1.711 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.443e-05/1.297, allocations: 4 kB / 1.164 GB, free: 1.707 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.005142/1.302, allocations: 1.372 MB / 1.166 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.231e-05/1.302, allocations: 9.281 kB / 1.166 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001008/1.303, allocations: 155.6 kB / 1.166 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005531/1.309, allocations: 335.5 kB / 1.166 GB, free: 408 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004558/1.314, allocations: 0.83 MB / 1.167 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/1.314, allocations: 74.53 kB / 1.167 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007314/1.315, allocations: 98.34 kB / 1.167 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005817/1.321, allocations: 1.084 MB / 1.168 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-05/1.321, allocations: 5.219 kB / 1.168 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/1.321, allocations: 42 kB / 1.168 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.092e-05/1.321, allocations: 44.98 kB / 1.168 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003157/1.324, allocations: 0.9939 MB / 1.169 GB, free: 14.57 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.01085/1.335, allocations: 4.246 MB / 1.173 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.337, allocations: 0.6026 MB / 1.174 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008412/1.337, allocations: 353 kB / 1.174 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/1.338, allocations: 105.9 kB / 1.174 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/1.338, allocations: 40.34 kB / 1.174 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=53): time 2.725e-06/1.338, allocations: 0 / 1.174 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55): time 0.006736/1.345, allocations: 2.21 MB / 1.177 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/1.345, allocations: 65.06 kB / 1.177 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/1.346, allocations: 0.8632 MB / 1.178 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/1.347, allocations: 42.95 kB / 1.178 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005709/1.347, allocations: 0.5101 MB / 1.178 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003822/1.347, allocations: 204.6 kB / 1.178 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/1.348, allocations: 14.75 kB / 1.178 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.348, allocations: 327.1 kB / 1.179 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008488/1.349, allocations: 297.2 kB / 1.179 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009745/1.35, allocations: 449.8 kB / 1.179 GB, free: 7.031 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.004986/1.355, allocations: 1.09 MB / 1.18 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/1.355, allocations: 6.641 kB / 1.18 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002558/1.357, allocations: 0.9248 MB / 1.181 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.357, allocations: 5.812 kB / 1.181 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.357, allocations: 2.969 kB / 1.181 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/1.358, allocations: 105 kB / 1.181 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/1.359, allocations: 174.5 kB / 1.182 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004863/1.364, allocations: 4.273 MB / 1.186 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/1.366, allocations: 82.77 kB / 1.186 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/1.366, allocations: 30.72 kB / 1.186 GB, free: 1.555 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 (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.0008769/1.367, allocations: 343.2 kB / 1.186 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/1.367, allocations: 104.2 kB / 1.186 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/1.367, allocations: 109.3 kB / 1.186 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/1.367, allocations: 9.734 kB / 1.186 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.367, allocations: 0 / 1.186 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001749/1.369, allocations: 0.7759 MB / 1.187 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005364/1.375, allocations: 1.988 MB / 1.189 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.375, allocations: 3.656 kB / 1.189 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/1.376, allocations: 163.7 kB / 1.189 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/1.376, allocations: 35.69 kB / 1.189 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/1.376, allocations: 20.02 kB / 1.189 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/1.378, allocations: 1.487 MB / 1.191 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.378, allocations: 8.5 kB / 1.191 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003157/1.381, allocations: 1.25 MB / 1.192 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009411/1.382, allocations: 255.1 kB / 1.192 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/1.382, allocations: 16.23 kB / 1.192 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/1.384, allocations: 74.86 kB / 1.192 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/1.384, allocations: 45.56 kB / 1.192 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/1.384, allocations: 33.7 kB / 1.192 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001228/1.385, allocations: 0.5999 MB / 1.193 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.01e-07/1.386, allocations: 0 / 1.193 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001624/1.387, allocations: 304.8 kB / 1.193 GB, free: 12.32 MB / 0.7292 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 (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.003912/1.391, allocations: 1.869 MB / 1.195 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002487/1.394, allocations: 1.018 MB / 1.196 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/1.394, allocations: 7.25 kB / 1.196 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/1.395, allocations: 442.9 kB / 1.196 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005291/1.4, allocations: 0.6275 MB / 1.197 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/1.416, allocations: 6.197 MB / 1.203 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/1.417, allocations: 1.166 MB / 1.204 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001721/1.419, allocations: 248.4 kB / 1.205 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008505/1.419, allocations: 381.3 kB / 1.205 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of SimCode: time 8.627e-06/1.42, allocations: 3.938 kB / 1.205 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09219/1.512, allocations: 29.85 MB / 1.234 GB, free: 4.883 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000379/1.512, allocations: 287.3 kB / 1.234 GB, free: 4.531 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.984/5.496, allocations: 7.281 kB / 1.234 GB, free: 4.527 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)