Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.001343/0.001343, allocations: 99.62 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.001556/0.001557, 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.511/1.511, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.588/2.588, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003581, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6535/0.6539, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.1492/0.8031, allocations: 164.9 MB / 1.142 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.8145, allocations: 9.331 MB / 1.151 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.8158, allocations: 47.69 kB / 1.151 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.8171, allocations: 0.5247 MB / 1.152 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004079/0.8212, allocations: 1.714 MB / 1.153 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.8244, allocations: 1.364 MB / 1.155 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002272/0.8267, allocations: 1.665 MB / 1.156 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009778/0.8277, allocations: 0.8866 MB / 1.157 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/0.8297, allocations: 1.187 MB / 1.158 GB, free: 212 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007244/0.8304, allocations: 0.6496 MB / 1.159 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.556e-05/0.8305, allocations: 48 kB / 1.159 GB, free: 15.5 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.8325, allocations: 1.049 MB / 1.16 GB, free: 14.46 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002704/0.8328, allocations: 314.9 kB / 1.16 GB, free: 14.15 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.833, allocations: 273 kB / 1.16 GB, free: 13.88 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.8344, allocations: 1.528 MB / 1.162 GB, free: 12.34 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8344, allocations: 0 / 1.162 GB, free: 12.34 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8345, allocations: 3.938 kB / 1.162 GB, free: 12.34 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.8345, allocations: 0 / 1.162 GB, free: 12.34 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002111/0.8366, allocations: 1.534 MB / 1.163 GB, free: 10.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.8366, allocations: 11.97 kB / 1.163 GB, free: 10.74 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.8368, allocations: 156.2 kB / 1.164 GB, free: 10.58 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.8387, allocations: 389.7 kB / 1.164 GB, free: 10.2 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.84, allocations: 0.8708 MB / 1.165 GB, free: 9.285 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/0.8401, allocations: 78 kB / 1.165 GB, free: 9.207 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.8402, allocations: 104 kB / 1.165 GB, free: 9.105 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.8417, allocations: 1.087 MB / 1.166 GB, free: 7.961 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.8417, allocations: 0 / 1.166 GB, free: 7.961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.059e-05/0.8418, allocations: 44 kB / 1.166 GB, free: 7.918 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/0.8419, allocations: 34 kB / 1.166 GB, free: 7.883 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.8431, allocations: 0.804 MB / 1.167 GB, free: 7.082 MB / 0.92 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.004809/0.8479, allocations: 5.078 MB / 1.172 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.849, allocations: 0.6965 MB / 1.173 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003763/0.8494, allocations: 149.7 kB / 1.173 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.8494, allocations: 43.11 kB / 1.173 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of pre-optimization done (n=70): time 1.953e-06/0.8494, allocations: 4 kB / 1.173 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of matching and sorting (n=70): time 0.001652/0.8511, allocations: 0.943 MB / 1.174 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.8511, allocations: 59.97 kB / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008561/0.852, allocations: 0.8685 MB / 1.175 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.8521, allocations: 37.7 kB / 1.175 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.8524, allocations: 0.5585 MB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.8526, allocations: 252.4 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.8526, allocations: 16 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.8527, allocations: 330 kB / 1.176 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.8531, allocations: 245.9 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005206/0.8537, allocations: 447 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.8541, allocations: 307.1 kB / 1.177 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.8542, allocations: 0 / 1.177 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001185/0.8553, allocations: 0.832 MB / 1.178 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004832/0.8558, allocations: 1.841 MB / 1.179 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.8559, allocations: 8 kB / 1.179 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.8559, allocations: 8 kB / 1.179 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.8573, allocations: 251.7 kB / 1.18 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.8584, allocations: 1.401 MB / 1.181 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000758/0.8592, allocations: 123.1 kB / 1.181 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.8593, allocations: 35.98 kB / 1.181 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.8593, allocations: 7.953 kB / 1.181 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001076/0.8604, allocations: 0.7021 MB / 1.182 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8604, allocations: 7.938 kB / 1.182 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.8604, allocations: 11.94 kB / 1.182 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.8617, allocations: 256.3 kB / 1.182 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.8627, allocations: 1.393 MB / 1.183 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/0.8635, allocations: 111.3 kB / 1.184 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.8635, allocations: 32 kB / 1.184 GB, free: 5.148 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004112/0.8639, allocations: 372.8 kB / 1.184 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.8641, allocations: 110.6 kB / 1.184 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.8655, allocations: 0.7902 MB / 1.185 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.8655, allocations: 11.98 kB / 1.185 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.8656, allocations: 0 / 1.185 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001134/0.8667, allocations: 0.7039 MB / 1.185 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.8695, allocations: 1.93 MB / 1.187 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.8695, allocations: 4 kB / 1.187 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/0.8702, allocations: 147.8 kB / 1.188 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003676/0.8705, allocations: 45.05 kB / 1.188 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.8706, allocations: 23.98 kB / 1.188 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.8717, allocations: 1.352 MB / 1.189 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8717, allocations: 0 / 1.189 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.8735, allocations: 1.314 MB / 1.19 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/0.8738, allocations: 255.6 kB / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.874, allocations: 16 kB / 1.19 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.8745, allocations: 59.8 kB / 1.191 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.8746, allocations: 52.39 kB / 1.191 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.8747, allocations: 27.98 kB / 1.191 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006164/0.8753, allocations: 0.5811 MB / 1.191 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.263e-06/0.8753, allocations: 0 / 1.191 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001158/0.8765, allocations: 0.5413 MB / 1.192 GB, free: 12.44 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002454/0.8789, allocations: 2.452 MB / 1.194 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003137/0.8821, allocations: 1.182 MB / 1.195 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.8821, allocations: 0 / 1.195 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006596/0.8828, allocations: 446.3 kB / 1.196 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.8848, allocations: 498.8 kB / 1.196 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009029/0.8938, allocations: 9.58 MB / 1.205 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.8944, allocations: 1.171 MB / 1.207 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009091/0.8953, allocations: 268.8 kB / 1.207 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004893/0.8958, allocations: 455.3 kB / 1.207 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of SimCode: time 1.363e-06/0.8958, allocations: 4 kB / 1.207 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9653/1.861, allocations: 26.71 MB / 1.233 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/1.861, allocations: 261.6 kB / 1.234 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.68/4.542, allocations: 3.375 kB / 1.234 GB, free: 1.312 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat does not exist to compare? outputFormat=mat