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.491/2.491, allocations: 393.5 MB / 408.4 MB, free: 10.9 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.00161/0.00161, allocations: 183.8 kB / 0.4901 GB, free: 2.094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.783/1.783, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001173/0.001173, allocations: 100.1 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.000414, allocations: 10.41 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3694, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.299/5.669, allocations: 1.972 GB / 3.201 GB, free: 337.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/5.669, allocations: 93.53 kB / 3.201 GB, free: 337.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.946/7.614, allocations: 0.6307 GB / 3.832 GB, free: 237.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.265e-06/7.615, allocations: 0 / 3.832 GB, free: 237.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002155/7.615, allocations: 36 kB / 3.832 GB, free: 237.9 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.005998/7.621, allocations: 1.775 MB / 3.833 GB, free: 236 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/7.621, allocations: 8.828 kB / 3.833 GB, free: 236 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005575/7.621, allocations: 160.2 kB / 3.834 GB, free: 235.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003448/7.625, allocations: 361.9 kB / 3.834 GB, free: 235.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004751/7.63, allocations: 1.237 MB / 3.835 GB, free: 234.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/7.63, allocations: 82 kB / 3.835 GB, free: 234.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003999/7.63, allocations: 108 kB / 3.835 GB, free: 234.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/7.633, allocations: 1.116 MB / 3.836 GB, free: 232.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/7.633, allocations: 4 kB / 3.836 GB, free: 232.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/7.634, allocations: 43.95 kB / 3.836 GB, free: 232.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.005e-05/7.634, allocations: 41.94 kB / 3.836 GB, free: 232.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/7.636, allocations: 0.8353 MB / 3.837 GB, free: 231.9 MB / 1.167 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.009344/7.645, allocations: 5.14 MB / 3.842 GB, free: 226.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/7.647, allocations: 0.7499 MB / 3.843 GB, free: 225.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006947/7.648, allocations: 303.8 kB / 3.843 GB, free: 225.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/7.648, allocations: 55.06 kB / 3.843 GB, free: 225.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 4.298e-06/7.648, allocations: 0 / 3.843 GB, free: 225.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002817/7.651, allocations: 1.009 MB / 3.844 GB, free: 224.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/7.651, allocations: 166.7 kB / 3.845 GB, free: 224.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/7.652, allocations: 0.758 MB / 3.845 GB, free: 223.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/7.652, allocations: 45.7 kB / 3.845 GB, free: 223.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/7.653, allocations: 0.5587 MB / 3.846 GB, free: 222.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/7.653, allocations: 240.4 kB / 3.846 GB, free: 222.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/7.653, allocations: 16 kB / 3.846 GB, free: 222.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/7.653, allocations: 333.9 kB / 3.846 GB, free: 222.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005951/7.654, allocations: 269.9 kB / 3.847 GB, free: 221.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007842/7.654, allocations: 0.508 MB / 3.847 GB, free: 221.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007171/7.655, allocations: 331.1 kB / 3.847 GB, free: 220.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/7.655, allocations: 4 kB / 3.847 GB, free: 220.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001903/7.657, allocations: 0.8744 MB / 3.848 GB, free: 220 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003519/7.657, allocations: 1.67 MB / 3.85 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/7.657, allocations: 4 kB / 3.85 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-05/7.657, allocations: 12 kB / 3.85 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/7.66, allocations: 255.7 kB / 3.85 GB, free: 218 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/7.661, allocations: 1.421 MB / 3.852 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/7.663, allocations: 135.3 kB / 3.852 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/7.663, allocations: 39.98 kB / 3.852 GB, free: 216.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/7.663, allocations: 4 kB / 3.852 GB, free: 216.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001585/7.664, allocations: 0.7296 MB / 3.852 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/7.664, allocations: 8 kB / 3.852 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/7.664, allocations: 8.5 kB / 3.852 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/7.666, allocations: 267.6 kB / 3.853 GB, free: 215.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/7.668, allocations: 1.417 MB / 3.854 GB, free: 213.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/7.669, allocations: 131.4 kB / 3.854 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.863e-05/7.669, allocations: 31.98 kB / 3.854 GB, free: 213.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 () * Number of clocked 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.0008443/7.67, allocations: 373.7 kB / 3.855 GB, free: 213.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/7.67, allocations: 114.6 kB / 3.855 GB, free: 213 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/7.673, allocations: 0.8448 MB / 3.856 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/7.673, allocations: 8 kB / 3.856 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/7.673, allocations: 0 / 3.856 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001632/7.674, allocations: 0.7586 MB / 3.856 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004609/7.679, allocations: 2.02 MB / 3.858 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/7.679, allocations: 3.938 kB / 3.858 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/7.68, allocations: 152 kB / 3.858 GB, free: 209.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005207/7.68, allocations: 52.81 kB / 3.859 GB, free: 209.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.411e-05/7.681, allocations: 16 kB / 3.859 GB, free: 209 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/7.682, allocations: 1.397 MB / 3.86 GB, free: 207.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/7.682, allocations: 4.219 kB / 3.86 GB, free: 207.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/7.685, allocations: 1.392 MB / 3.861 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008222/7.686, allocations: 267.5 kB / 3.862 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/7.686, allocations: 19.94 kB / 3.862 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/7.688, allocations: 75.78 kB / 3.862 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/7.688, allocations: 44.5 kB / 3.862 GB, free: 205.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/7.688, allocations: 31.98 kB / 3.862 GB, free: 205.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001157/7.689, allocations: 0.593 MB / 3.862 GB, free: 205 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.21e-07/7.689, allocations: 0 / 3.862 GB, free: 205 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003201/7.692, allocations: 0.7251 MB / 3.863 GB, free: 204.2 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 () * 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.006598/7.699, allocations: 4.087 MB / 3.867 GB, free: 200 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00433/7.703, allocations: 1.189 MB / 3.868 GB, free: 198.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/7.703, allocations: 11.92 kB / 3.868 GB, free: 198.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/7.704, allocations: 474.3 kB / 3.869 GB, free: 198.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/7.708, allocations: 0.4931 MB / 3.869 GB, free: 197.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/7.724, allocations: 9.433 MB / 3.878 GB, free: 188.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/7.724, allocations: 1.167 MB / 3.879 GB, free: 186.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00188/7.726, allocations: 272.6 kB / 3.88 GB, free: 186.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007468/7.727, allocations: 459.3 kB / 3.88 GB, free: 186.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.322e-06/7.727, allocations: 0 / 3.88 GB, free: 186.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/7.84, allocations: 54.13 MB / 3.933 GB, free: 132.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/7.84, allocations: 259 kB / 3.933 GB, free: 132.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.934/11.77, allocations: 3.938 kB / 3.933 GB, free: 132.1 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