Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_MixingVolumeMoistAirFlexible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_MixingVolumeMoistAirFlexible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.79/0.79, allocations: 143.4 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 177.1 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 447.7 MB, free: 6.574 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008841/0.0008841, allocations: 96.27 kB / 0.5188 GB, free: 2.926 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.00167, allocations: 281.1 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004315, allocations: 12 kB / 0.6929 GB, free: 2.242 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3803, allocations: 82.78 MB / 0.7738 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.152/4.532, allocations: 1.882 GB / 2.656 GB, free: 142.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/4.532, allocations: 89.98 kB / 2.656 GB, free: 142 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.053/5.586, allocations: 329.1 MB / 2.977 GB, free: 86.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/5.586, allocations: 0 / 2.977 GB, free: 86.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.11e-05/5.586, allocations: 16 kB / 2.977 GB, free: 86.35 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001679/5.588, allocations: 0.912 MB / 2.978 GB, free: 85.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/5.588, allocations: 8.031 kB / 2.978 GB, free: 85.38 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.288e-05/5.588, allocations: 74.53 kB / 2.978 GB, free: 85.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/5.589, allocations: 175.1 kB / 2.978 GB, free: 85.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008445/5.59, allocations: 0.514 MB / 2.979 GB, free: 84.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/5.59, allocations: 29 kB / 2.979 GB, free: 84.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/5.59, allocations: 47.94 kB / 2.979 GB, free: 84.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/5.59, allocations: 370.5 kB / 2.979 GB, free: 84.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/5.59, allocations: 4 kB / 2.979 GB, free: 84.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/5.59, allocations: 12 kB / 2.979 GB, free: 84.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/5.59, allocations: 20.98 kB / 2.979 GB, free: 84.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004491/5.591, allocations: 303.8 kB / 2.979 GB, free: 83.79 MB / 0.698 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.001752/5.593, allocations: 1.616 MB / 2.981 GB, free: 82.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/5.593, allocations: 257.8 kB / 2.981 GB, free: 81.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/5.593, allocations: 97.09 kB / 2.981 GB, free: 81.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/5.593, allocations: 42.5 kB / 2.981 GB, free: 81.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.204e-06/5.593, allocations: 0 / 2.981 GB, free: 81.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0007883/5.594, allocations: 384.1 kB / 2.982 GB, free: 81.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/5.594, allocations: 59.34 kB / 2.982 GB, free: 81.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/5.594, allocations: 377 kB / 2.982 GB, free: 80.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/5.594, allocations: 33.7 kB / 2.982 GB, free: 80.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/5.595, allocations: 260 kB / 2.983 GB, free: 80.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.745e-05/5.595, allocations: 90.66 kB / 2.983 GB, free: 80.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/5.595, allocations: 4 kB / 2.983 GB, free: 80.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.445e-05/5.595, allocations: 358.8 kB / 2.983 GB, free: 80.03 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/5.595, allocations: 96.45 kB / 2.983 GB, free: 79.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/5.595, allocations: 192.1 kB / 2.983 GB, free: 79.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/5.595, allocations: 132.1 kB / 2.983 GB, free: 79.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/5.595, allocations: 0 / 2.983 GB, free: 79.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004471/5.596, allocations: 351.5 kB / 2.984 GB, free: 79.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001601/5.596, allocations: 0.7033 MB / 2.984 GB, free: 78.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/5.596, allocations: 0 / 2.984 GB, free: 78.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/5.596, allocations: 4 kB / 2.984 GB, free: 78.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/5.596, allocations: 63.91 kB / 2.984 GB, free: 78.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/5.596, allocations: 4 kB / 2.984 GB, free: 78.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004736/5.597, allocations: 47.66 kB / 2.984 GB, free: 78.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/5.597, allocations: 12.06 kB / 2.984 GB, free: 78.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.673e-06/5.597, allocations: 8 kB / 2.985 GB, free: 78.34 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003804/5.597, allocations: 283.6 kB / 2.985 GB, free: 78.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/5.597, allocations: 4 kB / 2.985 GB, free: 78.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-06/5.597, allocations: 7.984 kB / 2.985 GB, free: 78.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/5.597, allocations: 59.91 kB / 2.985 GB, free: 77.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/5.597, allocations: 8.219 kB / 2.985 GB, free: 77.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/5.598, allocations: 39.81 kB / 2.985 GB, free: 77.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/5.598, allocations: 12 kB / 2.985 GB, free: 77.93 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (34): * Single equations (assignments): 34 * 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.0002264/5.598, allocations: 273.6 kB / 2.985 GB, free: 77.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/5.598, allocations: 55.39 kB / 2.985 GB, free: 77.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/5.599, allocations: 306.2 kB / 2.986 GB, free: 77.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/5.599, allocations: 7.938 kB / 2.986 GB, free: 77.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/5.599, allocations: 0 / 2.986 GB, free: 77.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003686/5.599, allocations: 497.4 kB / 2.986 GB, free: 76.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/5.6, allocations: 0.9186 MB / 2.987 GB, free: 75.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/5.6, allocations: 0 / 2.987 GB, free: 75.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/5.601, allocations: 72.03 kB / 2.987 GB, free: 75.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/5.601, allocations: 8 kB / 2.987 GB, free: 75.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/5.601, allocations: 8 kB / 2.987 GB, free: 75.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/5.601, allocations: 3.984 kB / 2.987 GB, free: 75.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/5.601, allocations: 0 / 2.987 GB, free: 75.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/5.601, allocations: 0.5974 MB / 2.988 GB, free: 75.01 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/5.601, allocations: 144.6 kB / 2.988 GB, free: 74.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/5.601, allocations: 11.95 kB / 2.988 GB, free: 74.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/5.602, allocations: 39.81 kB / 2.988 GB, free: 74.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/5.602, allocations: 19.92 kB / 2.988 GB, free: 74.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/5.602, allocations: 11.98 kB / 2.988 GB, free: 74.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002792/5.602, allocations: 299.1 kB / 2.988 GB, free: 74.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.602, allocations: 0 / 2.988 GB, free: 74.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001084/5.603, allocations: 359.3 kB / 2.988 GB, free: 74.12 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * 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 (25): * Single equations (assignments): 25 * 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.002205/5.605, allocations: 2.328 MB / 2.991 GB, free: 71.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006145/5.606, allocations: 400.4 kB / 2.991 GB, free: 71.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/5.606, allocations: 3.938 kB / 2.991 GB, free: 71.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/5.606, allocations: 123.8 kB / 2.991 GB, free: 71.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/5.607, allocations: 292 kB / 2.991 GB, free: 70.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/5.611, allocations: 3.883 MB / 2.995 GB, free: 66.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/5.612, allocations: 0.8855 MB / 2.996 GB, free: 66.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004953/5.612, allocations: 120.3 kB / 2.996 GB, free: 65.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/5.612, allocations: 167.4 kB / 2.996 GB, free: 65.79 MB / 0.698 GB Notification: Performance of SimCode: time 6.82e-07/5.612, allocations: 0 / 2.996 GB, free: 65.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04543/5.658, allocations: 28.57 MB / 3.024 GB, free: 37.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/5.658, allocations: 256.3 kB / 3.025 GB, free: 37.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.209/8.867, allocations: 0 / 3.025 GB, free: 37.16 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_MixingVolumeMoistAirFlexible_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_MixingVolumeMoistAirFlexible.fmu > BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe 2>&1)