Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.278/1.278, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009977/0.0009978, allocations: 181 kB / 325.8 MB, free: 2.707 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.437/1.437, allocations: 205 MB / 0.576 GB, free: 20.93 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.0006664/0.0006664, allocations: 99.03 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003206, allocations: 8.906 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.177, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5602/0.7373, allocations: 168.4 MB / 1.061 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005637/0.7429, allocations: 3.487 MB / 1.064 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007894/0.7438, allocations: 17 kB / 1.064 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009674/0.7447, allocations: 273.5 kB / 1.064 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.7475, allocations: 0.9876 MB / 1.065 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.7491, allocations: 0.6293 MB / 1.066 GB, free: 1.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002671/0.7518, allocations: 2.239 MB / 1.068 GB, free: 1.75 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006922/0.7525, allocations: 412.8 kB / 1.068 GB, free: 1.707 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.7535, allocations: 0.5137 MB / 1.069 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.7548, allocations: 491.8 kB / 1.069 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.645e-05/0.755, allocations: 21.56 kB / 1.069 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.7571, allocations: 0.947 MB / 1.07 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003696/0.7575, allocations: 217.3 kB / 1.071 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004744/0.758, allocations: 307.2 kB / 1.071 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.7598, allocations: 1.179 MB / 1.072 GB, free: 1.629 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7598, allocations: 0.6875 kB / 1.072 GB, free: 1.629 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.385e-06/0.7598, allocations: 0 / 1.072 GB, free: 1.629 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.7598, allocations: 1.859 kB / 1.072 GB, free: 1.629 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001502/0.7613, allocations: 0.8077 MB / 1.073 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.7614, allocations: 9.219 kB / 1.073 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.7615, allocations: 86.12 kB / 1.073 GB, free: 17.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.7627, allocations: 182 kB / 1.073 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008099/0.7635, allocations: 0.4966 MB / 1.074 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.7636, allocations: 33.92 kB / 1.074 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.7637, allocations: 43.81 kB / 1.074 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008922/0.7646, allocations: 493.1 kB / 1.074 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.7646, allocations: 0 / 1.074 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.7647, allocations: 19.66 kB / 1.074 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.7647, allocations: 22.25 kB / 1.074 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007231/0.7654, allocations: 417.5 kB / 1.075 GB, free: 16.68 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.002757/0.7682, allocations: 1.886 MB / 1.076 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.7685, allocations: 218.8 kB / 1.077 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.7687, allocations: 152.4 kB / 1.077 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.7689, allocations: 96.44 kB / 1.077 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.7689, allocations: 36.78 kB / 1.077 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.7689, allocations: 0 / 1.077 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0007906/0.7697, allocations: 393.8 kB / 1.077 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.7698, allocations: 57.97 kB / 1.077 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.7703, allocations: 0.5041 MB / 1.078 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.7704, allocations: 33.42 kB / 1.078 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.7705, allocations: 272 kB / 1.078 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.7706, allocations: 83.52 kB / 1.078 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.7707, allocations: 30.56 kB / 1.078 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7708, allocations: 357 kB / 1.079 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.771, allocations: 110.5 kB / 1.079 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.7712, allocations: 215.6 kB / 1.079 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.7716, allocations: 327.3 kB / 1.079 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7716, allocations: 5.406 kB / 1.079 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005823/0.7722, allocations: 399.2 kB / 1.08 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.7723, allocations: 6.5 kB / 1.08 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.7723, allocations: 6.484 kB / 1.08 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.7723, allocations: 3.812 kB / 1.08 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.7726, allocations: 67.81 kB / 1.08 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.7726, allocations: 4.469 kB / 1.08 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.7732, allocations: 61.36 kB / 1.08 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.7733, allocations: 15.16 kB / 1.08 GB, free: 14.58 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002987/0.7736, allocations: 211.9 kB / 1.08 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.641e-05/0.7737, allocations: 53.72 kB / 1.08 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.7738, allocations: 57.05 kB / 1.08 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.7738, allocations: 2.812 kB / 1.08 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.7738, allocations: 0 / 1.08 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000375/0.7742, allocations: 337.2 kB / 1.08 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.7754, allocations: 0.9688 MB / 1.081 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7755, allocations: 3 kB / 1.081 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.7757, allocations: 61.52 kB / 1.081 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.7758, allocations: 6.578 kB / 1.081 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.7758, allocations: 7.188 kB / 1.081 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.7758, allocations: 5.594 kB / 1.081 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7758, allocations: 0 / 1.081 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006268/0.7764, allocations: 0.5535 MB / 1.082 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.7767, allocations: 172.1 kB / 1.082 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.074e-05/0.7767, allocations: 8.188 kB / 1.082 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.7772, allocations: 44.33 kB / 1.082 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.7772, allocations: 14.66 kB / 1.082 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.7773, allocations: 18.17 kB / 1.082 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003551/0.7776, allocations: 373.5 kB / 1.082 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.122e-06/0.7776, allocations: 0 / 1.082 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005758/0.7782, allocations: 156.4 kB / 1.083 GB, free: 13.46 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001087/0.7793, allocations: 1.156 MB / 1.084 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004235/0.7798, allocations: 262.5 kB / 1.084 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7798, allocations: 1.219 kB / 1.084 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.78, allocations: 116.9 kB / 1.084 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.7816, allocations: 337.1 kB / 1.084 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005531/0.7872, allocations: 4.469 MB / 1.089 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.7876, allocations: 0.8961 MB / 1.09 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005682/0.7881, allocations: 136.8 kB / 1.09 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.7884, allocations: 162.4 kB / 1.09 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/0.7884, allocations: 0 / 1.09 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.8167, allocations: 14.36 MB / 1.104 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.8169, allocations: 269.2 kB / 1.104 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/3.123, allocations: 2.5 kB / 1.104 GB, free: 8.492 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)