Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.537/1.537, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 172.2 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205.4 MB / 0.5777 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008279/0.000828, allocations: 104 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003476, allocations: 14.89 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2574, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.8542/1.112, allocations: 201.8 MB / 1.097 GB, free: 3.832 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0107/1.122, allocations: 5.472 MB / 1.103 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/1.125, allocations: 31.09 kB / 1.103 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002156/1.127, allocations: 408.2 kB / 1.103 GB, free: 3.688 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.005651/1.133, allocations: 1.425 MB / 1.105 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003387/1.136, allocations: 0.8651 MB / 1.105 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005709/1.142, allocations: 3.67 MB / 1.109 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/1.144, allocations: 0.8464 MB / 1.11 GB, free: 3.461 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/1.147, allocations: 0.947 MB / 1.111 GB, free: 3.457 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/1.15, allocations: 0.9391 MB / 1.112 GB, free: 3.457 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002487/1.15, allocations: 49.19 kB / 1.112 GB, free: 3.457 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003352/1.154, allocations: 0.7143 MB / 1.112 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008508/1.155, allocations: 0.5137 MB / 1.113 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009494/1.155, allocations: 290.3 kB / 1.113 GB, free: 3.402 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002922/1.158, allocations: 1.7 MB / 1.115 GB, free: 3.281 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/1.158, allocations: 0 / 1.115 GB, free: 3.281 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-05/1.158, allocations: 3.562 kB / 1.115 GB, free: 3.281 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.876e-05/1.158, allocations: 0 / 1.115 GB, free: 3.281 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.00312/1.162, allocations: 1.407 MB / 1.116 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.162, allocations: 8.031 kB / 1.116 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002218/1.162, allocations: 160 kB / 1.116 GB, free: 18.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/1.164, allocations: 337.9 kB / 1.117 GB, free: 18.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/1.165, allocations: 0.8474 MB / 1.117 GB, free: 18.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/1.165, allocations: 77.53 kB / 1.118 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/1.166, allocations: 99.88 kB / 1.118 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/1.168, allocations: 1.118 MB / 1.119 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/1.168, allocations: 0 / 1.119 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/1.168, allocations: 44.5 kB / 1.119 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-05/1.168, allocations: 39.11 kB / 1.119 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/1.17, allocations: 1.005 MB / 1.12 GB, free: 17.94 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.007142/1.177, allocations: 4.29 MB / 1.124 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009255/1.178, allocations: 0.5948 MB / 1.125 GB, free: 16.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/1.178, allocations: 336.9 kB / 1.125 GB, free: 16.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/1.179, allocations: 106.9 kB / 1.125 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/1.179, allocations: 44.81 kB / 1.125 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=53): time 3.416e-06/1.179, allocations: 0 / 1.125 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55): time 0.005124/1.184, allocations: 2.21 MB / 1.127 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/1.184, allocations: 59.97 kB / 1.127 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/1.185, allocations: 0.8923 MB / 1.128 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/1.186, allocations: 41.33 kB / 1.128 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/1.186, allocations: 0.5165 MB / 1.129 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/1.186, allocations: 198.9 kB / 1.129 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/1.186, allocations: 13.59 kB / 1.129 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.186, allocations: 331.5 kB / 1.129 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/1.187, allocations: 280 kB / 1.129 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/1.187, allocations: 457.4 kB / 1.13 GB, free: 14.08 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.002822/1.19, allocations: 1.049 MB / 1.131 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/1.19, allocations: 1.219 kB / 1.131 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002038/1.192, allocations: 0.9167 MB / 1.132 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/1.192, allocations: 9.625 kB / 1.132 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/1.192, allocations: 7.859 kB / 1.132 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002741/1.193, allocations: 98.8 kB / 1.132 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008907/1.194, allocations: 181.3 kB / 1.132 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003954/1.198, allocations: 4.287 MB / 1.136 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/1.199, allocations: 73.28 kB / 1.136 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-05/1.199, allocations: 32.34 kB / 1.136 GB, free: 10 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: 19 * 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.0007903/1.2, allocations: 357.7 kB / 1.137 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/1.2, allocations: 98.91 kB / 1.137 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/1.2, allocations: 109.8 kB / 1.137 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.2, allocations: 9.125 kB / 1.137 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.2, allocations: 0 / 1.137 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001069/1.201, allocations: 0.7638 MB / 1.138 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003853/1.205, allocations: 2.018 MB / 1.14 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.205, allocations: 5.094 kB / 1.14 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007441/1.206, allocations: 156.4 kB / 1.14 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001477/1.206, allocations: 42.42 kB / 1.14 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/1.206, allocations: 18.12 kB / 1.14 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/1.208, allocations: 1.485 MB / 1.141 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.208, allocations: 8.594 kB / 1.141 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/1.21, allocations: 1.245 MB / 1.143 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000697/1.211, allocations: 269.9 kB / 1.143 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/1.211, allocations: 9.781 kB / 1.143 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009199/1.212, allocations: 86.64 kB / 1.143 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/1.212, allocations: 49.66 kB / 1.143 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.911e-05/1.212, allocations: 36.25 kB / 1.143 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009496/1.213, allocations: 0.616 MB / 1.144 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.213, allocations: 3.344 kB / 1.144 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001317/1.214, allocations: 310.8 kB / 1.144 GB, free: 6.375 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 (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.002677/1.217, allocations: 1.866 MB / 1.146 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001729/1.219, allocations: 0.9932 MB / 1.147 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.219, allocations: 2.906 kB / 1.147 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006289/1.219, allocations: 447.3 kB / 1.147 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.222, allocations: 0.6392 MB / 1.148 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/1.236, allocations: 6.297 MB / 1.154 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/1.237, allocations: 1.181 MB / 1.155 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001606/1.239, allocations: 257.3 kB / 1.155 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006794/1.24, allocations: 382.5 kB / 1.156 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of SimCode: time 1.362e-06/1.24, allocations: 3.438 kB / 1.156 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06713/1.307, allocations: 30.59 MB / 1.186 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/1.307, allocations: 292.2 kB / 1.186 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/4.389, allocations: 4 kB / 1.186 GB, free: 6.816 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)