Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.856/2.856, allocations: 287.5 MB / 302.4 MB, free: 8.273 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.001508/0.001508, allocations: 174.3 kB / 371 MB, free: 10.9 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.226/2.226, allocations: 205.4 MB / 0.6297 GB, free: 10.66 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.0009943/0.000994, allocations: 98.62 kB / 0.743 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006681/0.0006687, allocations: 11.41 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2506, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.9822/1.233, allocations: 155.1 MB / 1.13 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01097/1.244, allocations: 3.171 MB / 1.133 GB, free: 412 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/1.245, allocations: 16.06 kB / 1.133 GB, free: 404 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/1.247, allocations: 217.6 kB / 1.133 GB, free: 332 kB / 0.6823 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. Notification: Performance of NFTyping.typeBindings: time 0.005041/1.252, allocations: 0.7483 MB / 1.134 GB, free: 36 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003786/1.256, allocations: 493.7 kB / 1.134 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005004/1.261, allocations: 1.761 MB / 1.136 GB, free: 15.64 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/1.262, allocations: 349.8 kB / 1.137 GB, free: 15.59 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002143/1.264, allocations: 484.4 kB / 1.137 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/1.266, allocations: 446 kB / 1.137 GB, free: 15.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002384/1.267, allocations: 25.75 kB / 1.137 GB, free: 15.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003146/1.27, allocations: 429.3 kB / 1.138 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005707/1.27, allocations: 203 kB / 1.138 GB, free: 15.24 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004083/1.271, allocations: 138.9 kB / 1.138 GB, free: 15.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002475/1.273, allocations: 0.7705 MB / 1.139 GB, free: 15.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/1.273, allocations: 1.625 kB / 1.139 GB, free: 15.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.616e-06/1.273, allocations: 0 / 1.139 GB, free: 15.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.341e-05/1.273, allocations: 0 / 1.139 GB, free: 15.1 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003005/1.276, allocations: 0.802 MB / 1.14 GB, free: 14.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/1.277, allocations: 10.19 kB / 1.14 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002932/1.277, allocations: 91.55 kB / 1.14 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/1.28, allocations: 170.9 kB / 1.14 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/1.282, allocations: 481.8 kB / 1.14 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/1.282, allocations: 34.92 kB / 1.14 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/1.282, allocations: 41.25 kB / 1.141 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/1.284, allocations: 469.7 kB / 1.141 GB, free: 14.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/1.284, allocations: 1.156 kB / 1.141 GB, free: 14.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/1.284, allocations: 31.45 kB / 1.141 GB, free: 14.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.924e-05/1.285, allocations: 14.78 kB / 1.141 GB, free: 14.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/1.286, allocations: 407.1 kB / 1.141 GB, free: 14.13 MB / 0.698 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.007391/1.294, allocations: 1.875 MB / 1.143 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008922/1.295, allocations: 226.2 kB / 1.143 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/1.295, allocations: 147.2 kB / 1.144 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003482/1.296, allocations: 105.4 kB / 1.144 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.328e-05/1.296, allocations: 35.81 kB / 1.144 GB, free: 13.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 4.478e-06/1.296, allocations: 0 / 1.144 GB, free: 13.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.002086/1.298, allocations: 388.9 kB / 1.144 GB, free: 12.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/1.298, allocations: 54.06 kB / 1.144 GB, free: 12.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/1.299, allocations: 492.4 kB / 1.145 GB, free: 12.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/1.3, allocations: 35.64 kB / 1.145 GB, free: 12.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/1.3, allocations: 273.3 kB / 1.145 GB, free: 12.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/1.3, allocations: 90.11 kB / 1.145 GB, free: 12.47 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/1.3, allocations: 7.719 kB / 1.145 GB, free: 12.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000268/1.3, allocations: 360.7 kB / 1.145 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/1.301, allocations: 116.2 kB / 1.145 GB, free: 12.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006635/1.302, allocations: 200.1 kB / 1.146 GB, free: 12.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/1.302, allocations: 155.2 kB / 1.146 GB, free: 11.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/1.302, allocations: 1.5 kB / 1.146 GB, free: 11.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001646/1.304, allocations: 391.8 kB / 1.146 GB, free: 11.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/1.304, allocations: 9.906 kB / 1.146 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/1.304, allocations: 4.688 kB / 1.146 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/1.304, allocations: 4.531 kB / 1.146 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008908/1.305, allocations: 66 kB / 1.146 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.661e-05/1.305, allocations: 8.203 kB / 1.146 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/1.307, allocations: 59.83 kB / 1.146 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.235e-05/1.307, allocations: 13.72 kB / 1.146 GB, free: 11.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (39): * Single equations (assignments): 39 * 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.0006438/1.308, allocations: 211.6 kB / 1.147 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/1.308, allocations: 48.16 kB / 1.147 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/1.308, allocations: 56.05 kB / 1.147 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/1.308, allocations: 6.078 kB / 1.147 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.308, allocations: 1.094 kB / 1.147 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001052/1.309, allocations: 344.5 kB / 1.147 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/1.313, allocations: 0.9567 MB / 1.148 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.659e-06/1.313, allocations: 1.312 kB / 1.148 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000915/1.314, allocations: 57.91 kB / 1.148 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/1.314, allocations: 2.562 kB / 1.148 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/1.314, allocations: 7.469 kB / 1.148 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/1.314, allocations: 6.5 kB / 1.148 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/1.314, allocations: 6.047 kB / 1.148 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/1.316, allocations: 0.5538 MB / 1.149 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006024/1.316, allocations: 163.4 kB / 1.149 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/1.317, allocations: 13.33 kB / 1.149 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.318, allocations: 25.84 kB / 1.149 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/1.318, allocations: 26.59 kB / 1.149 GB, free: 10.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/1.318, allocations: 17.11 kB / 1.149 GB, free: 10.47 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001088/1.319, allocations: 356.5 kB / 1.149 GB, free: 10.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.193e-06/1.319, allocations: 0 / 1.149 GB, free: 10.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001482/1.321, allocations: 149.5 kB / 1.149 GB, free: 10.32 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[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 (23): * Single equations (assignments): 23 * 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.002848/1.324, allocations: 1.154 MB / 1.15 GB, free: 9.504 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001286/1.325, allocations: 271.8 kB / 1.151 GB, free: 9.457 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.325, allocations: 5.094 kB / 1.151 GB, free: 9.453 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004942/1.326, allocations: 121.9 kB / 1.151 GB, free: 9.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005173/1.331, allocations: 323.3 kB / 1.151 GB, free: 9.328 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/1.343, allocations: 2.947 MB / 1.154 GB, free: 7.875 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00097/1.344, allocations: 0.8815 MB / 1.155 GB, free: 7.098 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001498/1.345, allocations: 132.8 kB / 1.155 GB, free: 7.039 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005867/1.346, allocations: 159.8 kB / 1.155 GB, free: 7.023 MB / 0.698 GB Notification: Performance of SimCode: time 3.226e-06/1.346, allocations: 0 / 1.155 GB, free: 7.023 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05957/1.405, allocations: 14.43 MB / 1.169 GB, free: 84 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003337/1.406, allocations: 236 kB / 1.169 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.136/4.542, allocations: 0 / 1.169 GB, free: 15.84 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)