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.0009768/0.0009767, allocations: 86.33 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.001369/0.001369, 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.568/1.568, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.606/2.606, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004019, allocations: 11.94 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7385/0.739, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2125/0.9516, allocations: 181 MB / 1.158 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01634/0.968, allocations: 9.668 MB / 1.167 GB, free: 7.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.9701, allocations: 47.69 kB / 1.167 GB, free: 7.055 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.9715, allocations: 405.1 kB / 1.168 GB, free: 6.656 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004539/0.9761, allocations: 1.446 MB / 1.169 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.9793, allocations: 1.045 MB / 1.17 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004413/0.9838, allocations: 3.139 MB / 1.173 GB, free: 1.02 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.9853, allocations: 0.8708 MB / 1.174 GB, free: 124 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.9886, allocations: 1.311 MB / 1.175 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.9901, allocations: 0.8635 MB / 1.176 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.9903, allocations: 48 kB / 1.176 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003347/0.9936, allocations: 1.325 MB / 1.178 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004324/0.9941, allocations: 334.8 kB / 1.178 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.9945, allocations: 277 kB / 1.178 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.997, allocations: 1.672 MB / 1.18 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.882e-05/0.997, allocations: 0 / 1.18 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9971, allocations: 0 / 1.18 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.022e-05/0.9971, allocations: 3.938 kB / 1.18 GB, free: 10.28 MB / 0.9356 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.003019/1, allocations: 1.581 MB / 1.181 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/1, allocations: 8.031 kB / 1.181 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002171/1, allocations: 156.3 kB / 1.181 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/1.003, allocations: 377.8 kB / 1.182 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/1.004, allocations: 0.8747 MB / 1.183 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/1.004, allocations: 85.98 kB / 1.183 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/1.005, allocations: 104 kB / 1.183 GB, free: 7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/1.006, allocations: 1.099 MB / 1.184 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/1.007, allocations: 0 / 1.184 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.25e-05/1.007, allocations: 44 kB / 1.184 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/1.007, allocations: 34 kB / 1.184 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/1.008, allocations: 0.804 MB / 1.185 GB, free: 4.965 MB / 0.9356 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.007012/1.015, allocations: 5.086 MB / 1.19 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/1.017, allocations: 0.6885 MB / 1.19 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005857/1.017, allocations: 358.6 kB / 1.191 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005915/1.018, allocations: 327.8 kB / 1.191 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/1.018, allocations: 43.06 kB / 1.191 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=70): time 2.405e-06/1.018, allocations: 0 / 1.191 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70): time 0.001997/1.02, allocations: 0.9388 MB / 1.192 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/1.02, allocations: 59.97 kB / 1.192 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/1.021, allocations: 0.8763 MB / 1.193 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.85e-05/1.021, allocations: 41.7 kB / 1.193 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005293/1.022, allocations: 0.5468 MB / 1.194 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/1.022, allocations: 252.4 kB / 1.194 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/1.022, allocations: 16 kB / 1.194 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.022, allocations: 334 kB / 1.194 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/1.023, allocations: 249.9 kB / 1.194 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005847/1.023, allocations: 443 kB / 1.195 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005802/1.024, allocations: 311.1 kB / 1.195 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.024, allocations: 4 kB / 1.195 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001472/1.025, allocations: 0.8237 MB / 1.196 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002062/1.025, allocations: 237.5 kB / 1.196 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.025, allocations: 4 kB / 1.196 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/1.026, allocations: 12 kB / 1.196 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/1.027, allocations: 247.7 kB / 1.196 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/1.029, allocations: 1.393 MB / 1.198 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009866/1.03, allocations: 123.9 kB / 1.198 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/1.03, allocations: 36 kB / 1.198 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/1.03, allocations: 7.938 kB / 1.198 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/1.031, allocations: 0.7024 MB / 1.199 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.031, allocations: 4 kB / 1.199 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/1.031, allocations: 12 kB / 1.199 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.032, allocations: 259.9 kB / 1.199 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/1.034, allocations: 1.393 MB / 1.2 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00093/1.035, allocations: 116.8 kB / 1.2 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/1.035, allocations: 35.98 kB / 1.2 GB, free: 4.152 MB / 0.9512 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.0005415/1.035, allocations: 364.9 kB / 1.201 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/1.035, allocations: 106.7 kB / 1.201 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/1.037, allocations: 0.794 MB / 1.202 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/1.037, allocations: 15.95 kB / 1.202 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/1.037, allocations: 96 / 1.202 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/1.038, allocations: 0.7078 MB / 1.202 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/1.042, allocations: 1.922 MB / 1.204 GB, free: 116 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/1.042, allocations: 8.031 kB / 1.204 GB, free: 108 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000695/1.042, allocations: 139.8 kB / 1.204 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003859/1.043, allocations: 48.81 kB / 1.204 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/1.043, allocations: 16 kB / 1.204 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/1.044, allocations: 1.356 MB / 1.206 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.044, allocations: 3.953 kB / 1.206 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/1.046, allocations: 1.219 MB / 1.207 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/1.046, allocations: 255.6 kB / 1.207 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/1.046, allocations: 16 kB / 1.207 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005861/1.047, allocations: 67.73 kB / 1.207 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/1.047, allocations: 48.45 kB / 1.207 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/1.047, allocations: 23.98 kB / 1.207 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007101/1.048, allocations: 0.585 MB / 1.208 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.048, allocations: 0 / 1.208 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001319/1.049, allocations: 0.5336 MB / 1.208 GB, free: 11.59 MB / 0.9669 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.002571/1.052, allocations: 1.894 MB / 1.21 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003236/1.055, allocations: 1.174 MB / 1.211 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.055, allocations: 4.062 kB / 1.211 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007251/1.056, allocations: 441.7 kB / 1.212 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/1.058, allocations: 0.5064 MB / 1.212 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/1.069, allocations: 6.629 MB / 1.219 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007994/1.069, allocations: 1.144 MB / 1.22 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001254/1.071, allocations: 277.1 kB / 1.22 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006042/1.071, allocations: 463.3 kB / 1.221 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of SimCode: time 9.42e-07/1.071, allocations: 0 / 1.221 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05129/1.123, allocations: 26.74 MB / 1.247 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003569/1.123, allocations: 263.1 kB / 1.247 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/3.603, allocations: 2.391 kB / 1.247 GB, free: 4.008 MB / 0.9981 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