Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.796/1.796, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009169/0.000917, allocations: 182 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007891/0.0007894, allocations: 92.83 kB / 0.7808 GB, free: 50.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004456, allocations: 16.97 kB / 0.9088 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7434/0.7439, allocations: 120.3 MB / 1.026 GB, free: 55.92 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.685/5.429, allocations: 2.202 GB / 3.229 GB, free: 72.82 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/5.429, allocations: 109.1 kB / 3.229 GB, free: 72.71 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.85/11.28, allocations: 1.673 GB / 4.902 GB, free: 117.9 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.252e-06/11.28, allocations: 2.688 kB / 4.902 GB, free: 117.9 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0003862/11.28, allocations: 69.11 kB / 4.902 GB, free: 117.9 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.01212/11.29, allocations: 3.395 MB / 4.905 GB, free: 116.8 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/11.29, allocations: 13.38 kB / 4.905 GB, free: 116.8 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004876/11.3, allocations: 0.6687 MB / 4.906 GB, free: 116.6 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006908/11.3, allocations: 2.784 MB / 4.909 GB, free: 116.1 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/11.3, allocations: 144.7 kB / 4.909 GB, free: 116.1 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005966/11.3, allocations: 191.3 kB / 4.909 GB, free: 116.1 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005019/11.31, allocations: 2.219 MB / 4.911 GB, free: 115.9 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.449e-05/11.31, allocations: 7.406 kB / 4.911 GB, free: 115.9 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/11.31, allocations: 74.91 kB / 4.911 GB, free: 115.9 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.141e-05/11.31, allocations: 76.73 kB / 4.911 GB, free: 115.9 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003649/11.31, allocations: 1.91 MB / 4.913 GB, free: 115.9 MB / 1.042 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.0145/11.33, allocations: 9.11 MB / 4.922 GB, free: 112.1 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/11.33, allocations: 0.9813 MB / 4.923 GB, free: 112 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000933/11.33, allocations: 0.5848 MB / 4.924 GB, free: 112 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004068/11.33, allocations: 2.328 MB / 4.926 GB, free: 111 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/11.33, allocations: 47.78 kB / 4.926 GB, free: 110.9 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001485/11.34, allocations: 165.9 kB / 4.926 GB, free: 110.9 MB / 1.042 GB Notification: Performance of pre-optimization done (n=103): time 8.636e-06/11.34, allocations: 7.359 kB / 4.926 GB, free: 110.9 MB / 1.042 GB Notification: Performance of matching and sorting (n=105): time 0.01213/11.35, allocations: 4.231 MB / 4.93 GB, free: 110 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/11.35, allocations: 61.66 kB / 4.93 GB, free: 110 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004337/11.35, allocations: 2.033 MB / 4.932 GB, free: 109.8 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/11.35, allocations: 52.7 kB / 4.932 GB, free: 109.7 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001136/11.35, allocations: 1.176 MB / 4.933 GB, free: 109.4 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/11.35, allocations: 375.9 kB / 4.934 GB, free: 109.2 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/11.35, allocations: 28.25 kB / 4.934 GB, free: 109.2 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001107/11.35, allocations: 360.6 kB / 4.934 GB, free: 108.9 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008234/11.36, allocations: 473.7 kB / 4.935 GB, free: 108.9 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/11.36, allocations: 1.06 MB / 4.936 GB, free: 108.2 MB / 1.042 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/11.37, allocations: 3.407 MB / 4.939 GB, free: 107.5 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-05/11.37, allocations: 3.594 kB / 4.939 GB, free: 107.5 MB / 1.042 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003833/11.37, allocations: 1.796 MB / 4.941 GB, free: 107.3 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002962/11.37, allocations: 0.5061 MB / 4.941 GB, free: 106.7 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/11.37, allocations: 15.16 kB / 4.941 GB, free: 106.7 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/11.37, allocations: 352.2 kB / 4.942 GB, free: 106.7 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/11.37, allocations: 286.4 kB / 4.942 GB, free: 106.7 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/11.37, allocations: 1.006 MB / 4.943 GB, free: 106.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/11.38, allocations: 176.9 kB / 4.943 GB, free: 106.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/11.38, allocations: 74.06 kB / 4.943 GB, free: 106.2 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/11.38, allocations: 4.906 kB / 4.943 GB, free: 106.2 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002884/11.38, allocations: 1.549 MB / 4.945 GB, free: 106.1 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.301e-05/11.38, allocations: 14.53 kB / 4.945 GB, free: 106.1 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/11.38, allocations: 348 kB / 4.945 GB, free: 106.1 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/11.38, allocations: 286.6 kB / 4.945 GB, free: 106.1 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/11.38, allocations: 1.005 MB / 4.946 GB, free: 105.6 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/11.39, allocations: 151 kB / 4.946 GB, free: 105.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/11.39, allocations: 79.58 kB / 4.946 GB, free: 105.6 MB / 1.042 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (153): * Single equations (assignments): 151 * Array equations: 1 * 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 {3 23} Notification: Performance of prepare postOptimizeDAE: time 0.001612/11.39, allocations: 0.6551 MB / 4.947 GB, free: 105.4 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006531/11.39, allocations: 235.8 kB / 4.947 GB, free: 105.3 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/11.39, allocations: 1.428 MB / 4.949 GB, free: 105.2 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/11.39, allocations: 12.33 kB / 4.949 GB, free: 105.2 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/11.39, allocations: 0 / 4.949 GB, free: 105.2 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001669/11.39, allocations: 1.081 MB / 4.95 GB, free: 105.1 MB / 1.042 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.007731/11.4, allocations: 3.808 MB / 4.953 GB, free: 104.4 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/11.4, allocations: 3.656 kB / 4.953 GB, free: 104.4 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000803/11.4, allocations: 174 kB / 4.954 GB, free: 104.4 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/11.4, allocations: 327.8 kB / 4.954 GB, free: 104.4 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/11.4, allocations: 28.86 kB / 4.954 GB, free: 104.4 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/11.4, allocations: 0.9709 MB / 4.955 GB, free: 103.8 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/11.4, allocations: 7.422 kB / 4.955 GB, free: 103.8 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/11.41, allocations: 2.154 MB / 4.957 GB, free: 103.3 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/11.41, allocations: 438.7 kB / 4.957 GB, free: 103.1 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007833/11.41, allocations: 33.62 kB / 4.958 GB, free: 103.1 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/11.41, allocations: 101.3 kB / 4.958 GB, free: 103.1 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/11.41, allocations: 77.5 kB / 4.958 GB, free: 103.1 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/11.41, allocations: 46.81 kB / 4.958 GB, free: 103.1 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.003087/11.42, allocations: 1.363 MB / 4.959 GB, free: 103 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.9e-07/11.42, allocations: 0.9375 kB / 4.959 GB, free: 103 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.007301/11.42, allocations: 1.397 MB / 4.96 GB, free: 102.9 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.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 (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.007879/11.43, allocations: 3.754 MB / 4.964 GB, free: 101.4 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.005512/11.44, allocations: 1.997 MB / 4.966 GB, free: 101.4 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/11.44, allocations: 1.219 kB / 4.966 GB, free: 101.4 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/11.44, allocations: 0.5419 MB / 4.967 GB, free: 101.4 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009867/11.45, allocations: 1.317 MB / 4.968 GB, free: 101.3 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/11.46, allocations: 5 MB / 4.973 GB, free: 99.07 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002305/11.46, allocations: 1.684 MB / 4.974 GB, free: 98.34 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.003998/11.47, allocations: 0.5741 MB / 4.975 GB, free: 98.32 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007786/11.47, allocations: 173.5 kB / 4.975 GB, free: 98.31 MB / 1.042 GB Notification: Performance of SimCode: time 7.42e-07/11.47, allocations: 1.062 kB / 4.975 GB, free: 98.31 MB / 1.042 GB Notification: Performance of Templates: time 0.1249/11.59, allocations: 82.48 MB / 5.056 GB, free: 94.64 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)