Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.001183/0.001183, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001481/0.001481, allocations: 168.7 kB / 15.95 MB, free: 204 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.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.395 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.484/2.484, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 15.94 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.7281, allocations: 142.3 MB / 0.9538 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2052/0.9333, allocations: 165.4 MB / 1.115 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008435/0.9418, allocations: 5.053 MB / 1.12 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.9431, allocations: 27.81 kB / 1.12 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.9443, allocations: 302.1 kB / 1.121 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003647/0.948, allocations: 1.216 MB / 1.122 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.9498, allocations: 0.5711 MB / 1.122 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003156/0.9529, allocations: 2.523 MB / 1.125 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007549/0.9537, allocations: 0.5077 MB / 1.125 GB, free: 92 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.9547, allocations: 0.6145 MB / 1.126 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000876/0.9556, allocations: 0.6304 MB / 1.127 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.619e-05/0.9557, allocations: 28 kB / 1.127 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.9576, allocations: 0.6897 MB / 1.127 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.9579, allocations: 267.1 kB / 1.127 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.9581, allocations: 189.3 kB / 1.128 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.9595, allocations: 1.122 MB / 1.129 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.9595, allocations: 4 kB / 1.129 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9595, allocations: 0 / 1.129 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.9595, allocations: 4 kB / 1.129 GB, free: 12.54 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001652/0.9612, allocations: 1.013 MB / 1.13 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.9612, allocations: 11.97 kB / 1.13 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.9614, allocations: 110.5 kB / 1.13 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.9631, allocations: 262.8 kB / 1.13 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.9641, allocations: 0.6597 MB / 1.131 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.9642, allocations: 45.3 kB / 1.131 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.894e-05/0.9643, allocations: 67.92 kB / 1.131 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.9653, allocations: 0.5726 MB / 1.131 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.9653, allocations: 0 / 1.131 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.499e-05/0.9654, allocations: 24 kB / 1.131 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.9654, allocations: 25.25 kB / 1.131 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008814/0.9663, allocations: 0.5009 MB / 1.132 GB, free: 9.145 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.00312/0.9695, allocations: 2.392 MB / 1.134 GB, free: 6.562 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007774/0.9702, allocations: 430.2 kB / 1.135 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.9706, allocations: 212.8 kB / 1.135 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.9708, allocations: 97.81 kB / 1.135 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.9708, allocations: 38.56 kB / 1.135 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=43): time 1.683e-06/0.9708, allocations: 0 / 1.135 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48): time 0.002814/0.9736, allocations: 1.45 MB / 1.136 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.9737, allocations: 59.84 kB / 1.137 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006433/0.9744, allocations: 0.5304 MB / 1.137 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.9744, allocations: 41.7 kB / 1.137 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.9747, allocations: 320.7 kB / 1.137 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.9748, allocations: 173.6 kB / 1.138 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.9748, allocations: 8 kB / 1.138 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.975, allocations: 370.8 kB / 1.138 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.9753, allocations: 173 kB / 1.138 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.9757, allocations: 260.8 kB / 1.138 GB, free: 2.289 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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/0.9783, allocations: 1.045 MB / 1.139 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9783, allocations: 3.938 kB / 1.139 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008529/0.9791, allocations: 0.5303 MB / 1.14 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.9792, allocations: 11.95 kB / 1.14 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.9792, allocations: 0 / 1.14 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.9792, allocations: 4 kB / 1.14 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.9796, allocations: 104 kB / 1.14 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.9797, allocations: 4 kB / 1.14 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006045/0.9803, allocations: 31.83 kB / 1.14 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.9803, allocations: 23.98 kB / 1.14 GB, free: 0.4961 MB / 0.8887 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0003424/0.9807, allocations: 249.7 kB / 1.14 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.9808, allocations: 63.25 kB / 1.14 GB, free: 184 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.981, allocations: 82.45 kB / 1.14 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.981, allocations: 7.984 kB / 1.14 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.981, allocations: 0 / 1.14 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007047/0.9817, allocations: 0.5105 MB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.984, allocations: 1.581 MB / 1.142 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.984, allocations: 16.06 kB / 1.142 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/0.9845, allocations: 115.8 kB / 1.143 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.9846, allocations: 8 kB / 1.143 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.9846, allocations: 12 kB / 1.143 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.9846, allocations: 11.95 kB / 1.143 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/0.9846, allocations: 7.938 kB / 1.143 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.9858, allocations: 0.8911 MB / 1.143 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.9861, allocations: 204.2 kB / 1.144 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.903e-05/0.9862, allocations: 16 kB / 1.144 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.9867, allocations: 32.23 kB / 1.144 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.9868, allocations: 47.84 kB / 1.144 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.9869, allocations: 35.94 kB / 1.144 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004653/0.9874, allocations: 386.8 kB / 1.144 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9874, allocations: 0 / 1.144 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000673/0.988, allocations: 200 kB / 1.144 GB, free: 11.8 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * 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.001787/0.9898, allocations: 1.529 MB / 1.146 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008903/0.9907, allocations: 433.2 kB / 1.146 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9908, allocations: 320 / 1.146 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.9913, allocations: 235.6 kB / 1.146 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/0.9941, allocations: 468.6 kB / 1.147 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006289/1, allocations: 4.258 MB / 1.151 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/1.001, allocations: 0.9773 MB / 1.152 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007032/1.002, allocations: 161.8 kB / 1.152 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/1.002, allocations: 247.4 kB / 1.152 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of SimCode: time 7.22e-07/1.002, allocations: 0 / 1.152 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03934/1.041, allocations: 20.18 MB / 1.172 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/1.042, allocations: 252.1 kB / 1.172 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/3.302, allocations: 0 / 1.172 GB, free: 15.16 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat does not exist to compare? outputFormat=mat