Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 289.9 MB / 297.4 MB, free: 6.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 180.9 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008562/0.0008562, allocations: 91.45 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.577e-05/1.55e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6458/0.6458, allocations: 116.3 MB / 0.9732 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.958/5.604, allocations: 2.116 GB / 3.089 GB, free: 276.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/5.604, allocations: 88.38 kB / 3.09 GB, free: 276.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.866/8.47, allocations: 0.7953 GB / 3.885 GB, free: 161.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.673e-06/8.47, allocations: 0 / 3.885 GB, free: 161.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002879/8.471, allocations: 47.83 kB / 3.885 GB, free: 161.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.005974/8.477, allocations: 1.873 MB / 3.887 GB, free: 161 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/8.477, allocations: 13.78 kB / 3.887 GB, free: 161 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003354/8.48, allocations: 424.8 kB / 3.887 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00546/8.485, allocations: 1.846 MB / 3.889 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.36e-05/8.486, allocations: 33.8 kB / 3.889 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004346/8.486, allocations: 65.75 kB / 3.889 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001962/8.488, allocations: 0.8032 MB / 3.89 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/8.49, allocations: 0.994 MB / 3.891 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/8.49, allocations: 4.172 kB / 3.891 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/8.49, allocations: 3.781 kB / 3.891 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.385e-05/8.49, allocations: 36.06 kB / 3.891 GB, free: 160.4 MB / 0.948 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.007629/8.498, allocations: 4.744 MB / 3.895 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/8.499, allocations: 0.857 MB / 3.896 GB, free: 158.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/8.5, allocations: 374.9 kB / 3.897 GB, free: 158.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/8.5, allocations: 105.3 kB / 3.897 GB, free: 158 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005696/8.501, allocations: 411.2 kB / 3.897 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007869/8.502, allocations: 66.91 kB / 3.897 GB, free: 157.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 3.607e-06/8.502, allocations: 0 / 3.897 GB, free: 157.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.002082/8.504, allocations: 0.8514 MB / 3.898 GB, free: 157.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/8.504, allocations: 195.7 kB / 3.898 GB, free: 157.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/8.505, allocations: 0.8893 MB / 3.899 GB, free: 157.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/8.505, allocations: 29.64 kB / 3.899 GB, free: 157.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006062/8.506, allocations: 0.6595 MB / 3.9 GB, free: 157.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/8.506, allocations: 240.3 kB / 3.9 GB, free: 157 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/8.506, allocations: 0 / 3.9 GB, free: 157 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.034e-05/8.506, allocations: 340.8 kB / 3.9 GB, free: 156.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/8.507, allocations: 310.8 kB / 3.901 GB, free: 156.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005825/8.507, allocations: 0.5865 MB / 3.901 GB, free: 156.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00085/8.508, allocations: 418.1 kB / 3.902 GB, free: 156.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/8.508, allocations: 3.094 kB / 3.902 GB, free: 156.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002078/8.51, allocations: 1.033 MB / 3.903 GB, free: 156.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006314/8.511, allocations: 2.07 MB / 3.905 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/8.511, allocations: 3.594 kB / 3.905 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/8.511, allocations: 98.42 kB / 3.905 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008889/8.512, allocations: 199 kB / 3.905 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007647/8.513, allocations: 1.284 MB / 3.906 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/8.515, allocations: 91.69 kB / 3.906 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/8.515, allocations: 47.33 kB / 3.906 GB, free: 153 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/8.515, allocations: 3.875 kB / 3.906 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001769/8.516, allocations: 0.8553 MB / 3.907 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/8.517, allocations: 7.156 kB / 3.907 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004028/8.517, allocations: 102 kB / 3.907 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/8.518, allocations: 188.2 kB / 3.907 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003647/8.521, allocations: 2.61 MB / 3.91 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/8.523, allocations: 77.48 kB / 3.91 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/8.523, allocations: 47.08 kB / 3.91 GB, free: 151.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003427/8.523, allocations: 135.8 kB / 3.91 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003745/8.524, allocations: 130.3 kB / 3.91 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/8.526, allocations: 0.8401 MB / 3.911 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/8.526, allocations: 6.688 kB / 3.911 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/8.526, allocations: 7.078 kB / 3.911 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/8.527, allocations: 0.7624 MB / 3.912 GB, free: 150.9 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.004381/8.531, allocations: 2.069 MB / 3.914 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/8.531, allocations: 0 / 3.914 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007853/8.532, allocations: 169.7 kB / 3.914 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/8.532, allocations: 62.77 kB / 3.914 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/8.532, allocations: 10.31 kB / 3.914 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000526/8.533, allocations: 1.207 MB / 3.915 GB, free: 149.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/8.533, allocations: 3.531 kB / 3.915 GB, free: 149.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/8.535, allocations: 1.342 MB / 3.917 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007318/8.536, allocations: 276.9 kB / 3.917 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003628/8.536, allocations: 3.875 kB / 3.917 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/8.537, allocations: 90.62 kB / 3.917 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/8.537, allocations: 51.56 kB / 3.917 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/8.537, allocations: 27.55 kB / 3.917 GB, free: 148.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001317/8.539, allocations: 0.6808 MB / 3.918 GB, free: 148.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.11e-07/8.539, allocations: 0 / 3.918 GB, free: 148.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003919/8.543, allocations: 1.008 MB / 3.919 GB, free: 148.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004735/8.547, allocations: 2.901 MB / 3.922 GB, free: 147.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002882/8.55, allocations: 1.546 MB / 3.923 GB, free: 147.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/8.55, allocations: 0 / 3.923 GB, free: 147.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006526/8.551, allocations: 356.6 kB / 3.923 GB, free: 147.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003168/8.554, allocations: 0.5822 MB / 3.924 GB, free: 147.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/8.559, allocations: 1.979 MB / 3.926 GB, free: 146.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/8.56, allocations: 1.322 MB / 3.927 GB, free: 146 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002426/8.562, allocations: 470.2 kB / 3.928 GB, free: 145.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/8.563, allocations: 80.02 kB / 3.928 GB, free: 145.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.462e-06/8.563, allocations: 0 / 3.928 GB, free: 145.9 MB / 0.948 GB Notification: Performance of Templates: time 0.0702/8.633, allocations: 40.63 MB / 3.967 GB, free: 143 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)