Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_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.001096/0.001097, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001204/0.001205, allocations: 172.7 kB / 15.95 MB, free: 208 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.478/1.478, allocations: 223.2 MB / 240 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.575/2.575, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003965, allocations: 16 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8773/0.8777, allocations: 142.3 MB / 0.9538 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1843/1.062, allocations: 155.2 MB / 1.105 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005889/1.068, allocations: 3.177 MB / 1.108 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007051/1.069, allocations: 23.81 kB / 1.109 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000754/1.07, allocations: 210.7 kB / 1.109 GB, free: 1.152 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002079/1.072, allocations: 0.7581 MB / 1.109 GB, free: 400 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001532/1.073, allocations: 0.5008 MB / 1.11 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002065/1.075, allocations: 1.771 MB / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005641/1.076, allocations: 359.3 kB / 1.112 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008359/1.077, allocations: 482 kB / 1.112 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006726/1.077, allocations: 454.3 kB / 1.113 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.633e-05/1.077, allocations: 20 kB / 1.113 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/1.079, allocations: 423 kB / 1.113 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000228/1.079, allocations: 203.4 kB / 1.114 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/1.079, allocations: 145.4 kB / 1.114 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008761/1.08, allocations: 0.7755 MB / 1.114 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.08, allocations: 0 / 1.114 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.532e-06/1.08, allocations: 0 / 1.114 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.295e-06/1.08, allocations: 4 kB / 1.114 GB, free: 11.29 MB / 0.8731 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.001265/1.081, allocations: 0.7998 MB / 1.115 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/1.081, allocations: 8.031 kB / 1.115 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.799e-05/1.081, allocations: 90.52 kB / 1.115 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/1.082, allocations: 179.1 kB / 1.115 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000706/1.083, allocations: 489.7 kB / 1.116 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/1.083, allocations: 33 kB / 1.116 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.971e-05/1.083, allocations: 44 kB / 1.116 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007695/1.084, allocations: 474.4 kB / 1.116 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/1.084, allocations: 7.891 kB / 1.116 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/1.084, allocations: 23.94 kB / 1.116 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/1.084, allocations: 17 kB / 1.117 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/1.085, allocations: 411.7 kB / 1.117 GB, free: 8.641 MB / 0.8731 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.002421/1.087, allocations: 1.736 MB / 1.119 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/1.088, allocations: 294.6 kB / 1.119 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/1.088, allocations: 172.8 kB / 1.119 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/1.088, allocations: 105.1 kB / 1.119 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/1.088, allocations: 34.56 kB / 1.119 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 2.375e-06/1.088, allocations: 0 / 1.119 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.001918/1.09, allocations: 1.059 MB / 1.12 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/1.09, allocations: 55.41 kB / 1.12 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/1.091, allocations: 449.9 kB / 1.121 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/1.091, allocations: 33.7 kB / 1.121 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/1.091, allocations: 260 kB / 1.121 GB, free: 4.219 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.437e-05/1.091, allocations: 114.3 kB / 1.121 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/1.091, allocations: 8 kB / 1.121 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.091, allocations: 362.7 kB / 1.121 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/1.091, allocations: 123.9 kB / 1.122 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/1.092, allocations: 201.7 kB / 1.122 GB, free: 3.395 MB / 0.8731 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.001361/1.093, allocations: 0.5525 MB / 1.122 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.093, allocations: 0 / 1.122 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005913/1.094, allocations: 425.1 kB / 1.123 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.094, allocations: 4 kB / 1.123 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/1.094, allocations: 0 / 1.123 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.094, allocations: 4 kB / 1.123 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/1.094, allocations: 71.91 kB / 1.123 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/1.094, allocations: 4 kB / 1.123 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/1.094, allocations: 28.16 kB / 1.123 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/1.094, allocations: 16 kB / 1.123 GB, free: 2.277 MB / 0.8731 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.0002589/1.095, allocations: 217.6 kB / 1.123 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.892e-05/1.095, allocations: 51.44 kB / 1.123 GB, free: 2.004 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/1.095, allocations: 60.75 kB / 1.123 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.095, allocations: 8 kB / 1.123 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.095, allocations: 0 / 1.123 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000484/1.095, allocations: 412.5 kB / 1.124 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/1.097, allocations: 1.238 MB / 1.125 GB, free: 156 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.097, allocations: 8.453 kB / 1.125 GB, free: 148 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/1.098, allocations: 79.83 kB / 1.125 GB, free: 68 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/1.098, allocations: 7.938 kB / 1.125 GB, free: 60 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/1.098, allocations: 12 kB / 1.125 GB, free: 48 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/1.098, allocations: 4 kB / 1.125 GB, free: 44 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.098, allocations: 11.94 kB / 1.125 GB, free: 32 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008977/1.099, allocations: 0.6879 MB / 1.126 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/1.099, allocations: 172.4 kB / 1.126 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/1.099, allocations: 16 kB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/1.099, allocations: 35.95 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/1.099, allocations: 31.86 kB / 1.126 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/1.099, allocations: 19.98 kB / 1.126 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003496/1.1, allocations: 323.1 kB / 1.126 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.1, allocations: 4 kB / 1.126 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005261/1.1, allocations: 144 kB / 1.126 GB, free: 14.53 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.00148/1.102, allocations: 1.294 MB / 1.128 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007083/1.102, allocations: 323.7 kB / 1.128 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.102, allocations: 4.312 kB / 1.128 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/1.103, allocations: 163.7 kB / 1.128 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/1.105, allocations: 361.3 kB / 1.128 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005848/1.11, allocations: 3.09 MB / 1.131 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/1.111, allocations: 0.8862 MB / 1.132 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007566/1.112, allocations: 136.6 kB / 1.132 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/1.112, allocations: 171.4 kB / 1.132 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of SimCode: time 1.482e-06/1.112, allocations: 0 / 1.132 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/1.143, allocations: 15.02 MB / 1.147 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/1.143, allocations: 247 kB / 1.147 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/3.198, allocations: 0 / 1.147 GB, free: 8.969 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat does not exist to compare? outputFormat=mat