Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.194/3.194, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003887, allocations: 12 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9543/0.9547, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1696/1.124, allocations: 142.9 MB / 1.12 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00494/1.129, allocations: 3.298 MB / 1.124 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006026/1.13, allocations: 15.88 kB / 1.124 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008782/1.131, allocations: 330.5 kB / 1.124 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/1.133, allocations: 0.9036 MB / 1.125 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/1.135, allocations: 0.7146 MB / 1.126 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001316/1.137, allocations: 0.8812 MB / 1.126 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005642/1.137, allocations: 363.4 kB / 1.127 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007512/1.138, allocations: 434.5 kB / 1.127 GB, free: 136 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005621/1.138, allocations: 294.9 kB / 1.127 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.478e-05/1.139, allocations: 20 kB / 1.127 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/1.14, allocations: 395.3 kB / 1.128 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/1.14, allocations: 183.5 kB / 1.128 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/1.14, allocations: 149.4 kB / 1.128 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008062/1.141, allocations: 0.7365 MB / 1.129 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/1.141, allocations: 4 kB / 1.129 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.61e-07/1.141, allocations: 0 / 1.129 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.503e-06/1.141, allocations: 0 / 1.129 GB, free: 14.36 MB / 0.8887 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.001186/1.142, allocations: 0.7792 MB / 1.13 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/1.142, allocations: 8.031 kB / 1.13 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.738e-05/1.143, allocations: 90.52 kB / 1.13 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/1.144, allocations: 179.1 kB / 1.13 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000835/1.145, allocations: 489.7 kB / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/1.145, allocations: 40.94 kB / 1.13 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/1.145, allocations: 44 kB / 1.13 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007243/1.145, allocations: 462.4 kB / 1.131 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/1.145, allocations: 7.938 kB / 1.131 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/1.146, allocations: 24 kB / 1.131 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/1.146, allocations: 13 kB / 1.131 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006067/1.146, allocations: 411.7 kB / 1.131 GB, free: 11.75 MB / 0.8887 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.002424/1.149, allocations: 1.736 MB / 1.133 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/1.149, allocations: 298.5 kB / 1.133 GB, free: 9.578 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/1.149, allocations: 8 kB / 1.133 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/1.149, allocations: 38.56 kB / 1.133 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/1.149, allocations: 3.938 kB / 1.133 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.001878/1.151, allocations: 1.052 MB / 1.134 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.151, allocations: 59.34 kB / 1.134 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/1.152, allocations: 449.9 kB / 1.135 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/1.152, allocations: 37.69 kB / 1.135 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/1.152, allocations: 248.1 kB / 1.135 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/1.152, allocations: 118.3 kB / 1.135 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/1.152, allocations: 8 kB / 1.135 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.152, allocations: 362.7 kB / 1.136 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/1.152, allocations: 123.9 kB / 1.136 GB, free: 7 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/1.152, allocations: 193.7 kB / 1.136 GB, free: 6.789 MB / 0.8887 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/1.154, allocations: 0.5603 MB / 1.136 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.154, allocations: 0 / 1.136 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005589/1.154, allocations: 417.1 kB / 1.137 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.155, allocations: 4 kB / 1.137 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.155, allocations: 8.188 kB / 1.137 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/1.155, allocations: 4 kB / 1.137 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/1.155, allocations: 67.91 kB / 1.137 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.155, allocations: 0 / 1.137 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/1.155, allocations: 31.92 kB / 1.137 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/1.155, allocations: 12 kB / 1.137 GB, free: 5.672 MB / 0.8887 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002367/1.156, allocations: 217.9 kB / 1.137 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.164e-05/1.156, allocations: 55.33 kB / 1.137 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/1.156, allocations: 60.77 kB / 1.137 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.156, allocations: 4 kB / 1.137 GB, free: 5.328 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.156, allocations: 0 / 1.137 GB, free: 5.328 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004883/1.156, allocations: 408.5 kB / 1.138 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/1.158, allocations: 1.25 MB / 1.139 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.158, allocations: 4 kB / 1.139 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/1.158, allocations: 71.91 kB / 1.139 GB, free: 3.469 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/1.158, allocations: 8 kB / 1.139 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/1.158, allocations: 8 kB / 1.139 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/1.158, allocations: 16.48 kB / 1.139 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.158, allocations: 7.938 kB / 1.139 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/1.159, allocations: 0.8828 MB / 1.14 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/1.159, allocations: 176.3 kB / 1.14 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/1.16, allocations: 12 kB / 1.14 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/1.16, allocations: 31.98 kB / 1.14 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/1.16, allocations: 35.86 kB / 1.14 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/1.16, allocations: 19.98 kB / 1.14 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003263/1.16, allocations: 327.1 kB / 1.14 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.16, allocations: 4 kB / 1.14 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005311/1.161, allocations: 140 kB / 1.141 GB, free: 1.633 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.001654/1.163, allocations: 2.597 MB / 1.143 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00051/1.163, allocations: 307.9 kB / 1.143 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/1.163, allocations: 4 kB / 1.143 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/1.163, allocations: 156.7 kB / 1.144 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/1.165, allocations: 347.8 kB / 1.144 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/1.169, allocations: 3.963 MB / 1.148 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/1.17, allocations: 0.9017 MB / 1.149 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004831/1.17, allocations: 132.6 kB / 1.149 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/1.171, allocations: 163.4 kB / 1.149 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of SimCode: time 1.653e-06/1.171, allocations: 0 / 1.149 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/1.198, allocations: 15.02 MB / 1.164 GB, free: 10.1 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/1.198, allocations: 243.5 kB / 1.164 GB, free: 9.852 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.872, allocations: 1.25 kB / 1.164 GB, free: 9.852 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat does not exist to compare? outputFormat=mat