Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.442/2.442, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001387, allocations: 182.6 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.383/2.383, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001483/0.001482, allocations: 90.41 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006362/0.0006364, allocations: 10.5 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.204, allocations: 106.3 MB / 0.8995 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.212/7.416, allocations: 2.234 GB / 3.134 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/7.416, allocations: 101.9 kB / 3.134 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.924/11.34, allocations: 0.781 GB / 3.915 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.394e-06/11.34, allocations: 0 / 3.915 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002405/11.34, allocations: 48.73 kB / 3.915 GB, free: 153.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.009149/11.35, allocations: 2.381 MB / 3.917 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/11.35, allocations: 9.781 kB / 3.917 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004661/11.35, allocations: 429.3 kB / 3.917 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006803/11.36, allocations: 1.823 MB / 3.919 GB, free: 151.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/11.36, allocations: 83.47 kB / 3.919 GB, free: 151.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003768/11.36, allocations: 112.4 kB / 3.919 GB, free: 151.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/11.36, allocations: 1.207 MB / 3.921 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.6e-05/11.37, allocations: 3.125 kB / 3.921 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/11.37, allocations: 43.81 kB / 3.921 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.062e-05/11.37, allocations: 32.59 kB / 3.921 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003679/11.37, allocations: 0.9133 MB / 3.922 GB, free: 151.7 MB / 0.8855 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.01102/11.38, allocations: 4.954 MB / 3.926 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/11.38, allocations: 0.9289 MB / 3.927 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/11.38, allocations: 402.8 kB / 3.928 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/11.39, allocations: 100.7 kB / 3.928 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001468/11.39, allocations: 492.4 kB / 3.928 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009938/11.39, allocations: 90.97 kB / 3.928 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 3.616e-06/11.39, allocations: 0 / 3.928 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.005499/11.39, allocations: 1.3 MB / 3.93 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/11.39, allocations: 191.9 kB / 3.93 GB, free: 148.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/11.4, allocations: 1.178 MB / 3.931 GB, free: 148 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003045/11.4, allocations: 47.8 kB / 3.931 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007046/11.4, allocations: 0.6633 MB / 3.932 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/11.4, allocations: 244.8 kB / 3.932 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.132e-05/11.4, allocations: 18.78 kB / 3.932 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001042/11.4, allocations: 344.4 kB / 3.932 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/11.4, allocations: 337.7 kB / 3.933 GB, free: 146.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/11.4, allocations: 0.6329 MB / 3.933 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/11.4, allocations: 450.2 kB / 3.934 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/11.4, allocations: 0 / 3.934 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003942/11.41, allocations: 1.149 MB / 3.935 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000186/11.41, allocations: 268.8 kB / 3.935 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/11.41, allocations: 11.78 kB / 3.935 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/11.41, allocations: 89.14 kB / 3.935 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/11.41, allocations: 209.7 kB / 3.935 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009564/11.41, allocations: 1.207 MB / 3.936 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/11.41, allocations: 110.3 kB / 3.937 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002796/11.41, allocations: 52.81 kB / 3.937 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/11.41, allocations: 0 / 3.937 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003558/11.42, allocations: 1.036 MB / 3.938 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/11.42, allocations: 10.69 kB / 3.938 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006932/11.42, allocations: 104.2 kB / 3.938 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/11.42, allocations: 186.1 kB / 3.938 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005967/11.42, allocations: 2.672 MB / 3.941 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/11.43, allocations: 96.67 kB / 3.941 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002543/11.43, allocations: 47.03 kB / 3.941 GB, free: 141.6 MB / 0.8855 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 () * Number of clocked 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.001313/11.43, allocations: 468.5 kB / 3.941 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/11.43, allocations: 152.3 kB / 3.941 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003498/11.43, allocations: 0.9636 MB / 3.942 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/11.43, allocations: 7.688 kB / 3.942 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/11.43, allocations: 3.938 kB / 3.942 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002864/11.43, allocations: 0.8602 MB / 3.943 GB, free: 140.4 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.007114/11.44, allocations: 2.315 MB / 3.945 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/11.44, allocations: 0 / 3.945 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/11.44, allocations: 170.3 kB / 3.945 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/11.44, allocations: 78.59 kB / 3.946 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/11.44, allocations: 17.59 kB / 3.946 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006839/11.45, allocations: 1.201 MB / 3.947 GB, free: 138 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/11.45, allocations: 3.125 kB / 3.947 GB, free: 138 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004574/11.45, allocations: 1.452 MB / 3.948 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009793/11.45, allocations: 285.5 kB / 3.948 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003089/11.45, allocations: 19.28 kB / 3.948 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/11.45, allocations: 104.5 kB / 3.949 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/11.45, allocations: 55.61 kB / 3.949 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.837e-05/11.45, allocations: 26.7 kB / 3.949 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001693/11.45, allocations: 0.8042 MB / 3.949 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.71e-07/11.45, allocations: 0 / 3.949 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004824/11.46, allocations: 1.109 MB / 3.95 GB, free: 136.4 MB / 0.8855 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) * Number of clocked states: 0 () * 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.005514/11.47, allocations: 2.778 MB / 3.953 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005531/11.47, allocations: 1.688 MB / 3.955 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/11.47, allocations: 0 / 3.955 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00155/11.47, allocations: 414.2 kB / 3.955 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005561/11.48, allocations: 0.6508 MB / 3.956 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006985/11.49, allocations: 3.173 MB / 3.959 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/11.49, allocations: 1.3 MB / 3.96 GB, free: 127 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002465/11.49, allocations: 331.5 kB / 3.961 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/11.49, allocations: 99.41 kB / 3.961 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.563e-06/11.49, allocations: 8 kB / 3.961 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.1209/11.61, allocations: 54.23 MB / 4.014 GB, free: 73.11 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)