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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.331/2.331, allocations: 390.3 MB / 402.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 176.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 221.3 MB / 0.7915 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009666/0.0009668, allocations: 91.89 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.439e-05, allocations: 1.641 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2825, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.394/5.677, allocations: 1.972 GB / 3.19 GB, free: 341.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/5.677, allocations: 88.48 kB / 3.19 GB, free: 341 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.003/7.68, allocations: 0.6301 GB / 3.821 GB, free: 147.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.733e-06/7.68, allocations: 0 / 3.821 GB, free: 147.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001731/7.68, allocations: 39.92 kB / 3.821 GB, free: 147.2 MB / 1.167 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.004282/7.684, allocations: 1.575 MB / 3.822 GB, free: 145.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/7.684, allocations: 16.03 kB / 3.822 GB, free: 145.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004082/7.685, allocations: 152.3 kB / 3.822 GB, free: 145.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/7.687, allocations: 357.9 kB / 3.823 GB, free: 145.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003491/7.691, allocations: 1.231 MB / 3.824 GB, free: 143.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.374e-05/7.691, allocations: 78 kB / 3.824 GB, free: 143.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/7.691, allocations: 108 kB / 3.824 GB, free: 143.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/7.693, allocations: 1.082 MB / 3.825 GB, free: 142.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/7.693, allocations: 0 / 3.825 GB, free: 142.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/7.693, allocations: 44 kB / 3.825 GB, free: 142.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/7.693, allocations: 41.94 kB / 3.825 GB, free: 142.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/7.695, allocations: 0.7614 MB / 3.826 GB, free: 141.6 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.005632/7.7, allocations: 5.147 MB / 3.831 GB, free: 136.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008491/7.701, allocations: 0.6652 MB / 3.832 GB, free: 135.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/7.702, allocations: 323.4 kB / 3.832 GB, free: 135.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004795/7.702, allocations: 311.8 kB / 3.832 GB, free: 134.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/7.702, allocations: 43.12 kB / 3.832 GB, free: 134.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 2.726e-06/7.702, allocations: 0 / 3.832 GB, free: 134.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.001246/7.703, allocations: 0.6969 MB / 3.833 GB, free: 134 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/7.703, allocations: 166.8 kB / 3.833 GB, free: 133.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007772/7.704, allocations: 0.7511 MB / 3.834 GB, free: 133 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/7.704, allocations: 41.7 kB / 3.834 GB, free: 133 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/7.705, allocations: 0.5509 MB / 3.834 GB, free: 132.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/7.705, allocations: 248.3 kB / 3.835 GB, free: 132.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/7.705, allocations: 12 kB / 3.835 GB, free: 132.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.128e-05/7.705, allocations: 345.9 kB / 3.835 GB, free: 131.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/7.705, allocations: 241.5 kB / 3.835 GB, free: 131.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/7.706, allocations: 474.2 kB / 3.836 GB, free: 131 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/7.706, allocations: 304 kB / 3.836 GB, free: 130.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/7.706, allocations: 4 kB / 3.836 GB, free: 130.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001014/7.707, allocations: 0.8109 MB / 3.837 GB, free: 129.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002796/7.707, allocations: 1.667 MB / 3.838 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/7.707, allocations: 11.94 kB / 3.838 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/7.707, allocations: 8 kB / 3.838 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/7.709, allocations: 259.6 kB / 3.839 GB, free: 127.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/7.71, allocations: 1.417 MB / 3.84 GB, free: 126.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009496/7.711, allocations: 135.2 kB / 3.84 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/7.711, allocations: 32 kB / 3.84 GB, free: 126.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.844e-06/7.711, allocations: 4 kB / 3.84 GB, free: 126.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009343/7.712, allocations: 0.6861 MB / 3.841 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/7.712, allocations: 12.03 kB / 3.841 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/7.712, allocations: 12 kB / 3.841 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/7.713, allocations: 251.7 kB / 3.841 GB, free: 125.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008861/7.714, allocations: 1.405 MB / 3.842 GB, free: 123.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009293/7.715, allocations: 135.4 kB / 3.843 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/7.715, allocations: 32 kB / 3.843 GB, free: 123.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0001934/7.715, allocations: 157.6 kB / 3.843 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/7.715, allocations: 114.6 kB / 3.843 GB, free: 123.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/7.717, allocations: 0.7816 MB / 3.844 GB, free: 122.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/7.717, allocations: 8 kB / 3.844 GB, free: 122.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/7.717, allocations: 0 / 3.844 GB, free: 122.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009991/7.718, allocations: 0.7107 MB / 3.844 GB, free: 121.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/7.721, allocations: 1.954 MB / 3.846 GB, free: 119.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/7.721, allocations: 4 kB / 3.846 GB, free: 119.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006587/7.722, allocations: 147.8 kB / 3.846 GB, free: 119.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000386/7.722, allocations: 49.05 kB / 3.846 GB, free: 119.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/7.722, allocations: 27.92 kB / 3.846 GB, free: 119.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/7.723, allocations: 1.375 MB / 3.848 GB, free: 117.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/7.723, allocations: 4 kB / 3.848 GB, free: 117.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/7.725, allocations: 1.31 MB / 3.849 GB, free: 116.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003957/7.725, allocations: 271.5 kB / 3.849 GB, free: 116.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/7.725, allocations: 16 kB / 3.849 GB, free: 116.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000677/7.726, allocations: 71.88 kB / 3.849 GB, free: 116.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/7.726, allocations: 56.39 kB / 3.849 GB, free: 116.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/7.726, allocations: 23.98 kB / 3.849 GB, free: 116 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006206/7.727, allocations: 0.5822 MB / 3.85 GB, free: 115.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.002e-06/7.727, allocations: 4 kB / 3.85 GB, free: 115.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00196/7.729, allocations: 0.7133 MB / 3.851 GB, free: 114.7 MB / 1.167 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 () * 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.004069/7.733, allocations: 4.026 MB / 3.855 GB, free: 110.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002417/7.735, allocations: 1.14 MB / 3.856 GB, free: 109.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/7.735, allocations: 4 kB / 3.856 GB, free: 109.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006137/7.736, allocations: 438.1 kB / 3.856 GB, free: 109 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/7.738, allocations: 0.5047 MB / 3.857 GB, free: 108.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/7.741, allocations: 1.953 MB / 3.859 GB, free: 106.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/7.742, allocations: 1.173 MB / 3.86 GB, free: 105.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001267/7.743, allocations: 356.5 kB / 3.86 GB, free: 104.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/7.744, allocations: 447.3 kB / 3.861 GB, free: 104.5 MB / 1.167 GB Notification: Performance of SimCode: time 7.21e-07/7.744, allocations: 3.938 kB / 3.861 GB, free: 104.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08418/7.828, allocations: 60.33 MB / 3.919 GB, free: 44.48 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/7.828, allocations: 238.9 kB / 3.92 GB, free: 44.16 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.379/12.21, allocations: 4.062 kB / 3.92 GB, free: 44.16 MB / 1.167 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) 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