Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.639/3.639, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.002167/0.002167, allocations: 169.4 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.757/2.757, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.001257/0.001257, allocations: 94.78 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004885, allocations: 11.47 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2186, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.471, allocations: 416.2 MB / 1.306 GB, free: 2.371 MB / 0.8074 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/1.472, allocations: 96.03 kB / 1.306 GB, free: 2.32 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 4.617/6.089, allocations: 0.5953 GB / 1.901 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.479e-06/6.089, allocations: 0 / 1.901 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004688/6.09, allocations: 46 kB / 1.901 GB, free: 176.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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.0125/6.102, allocations: 2.112 MB / 1.903 GB, free: 175.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.811e-05/6.102, allocations: 10.59 kB / 1.903 GB, free: 175.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004723/6.107, allocations: 385 kB / 1.904 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008683/6.116, allocations: 1.326 MB / 1.905 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001765/6.118, allocations: 215.5 kB / 1.905 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008695/6.119, allocations: 111 kB / 1.905 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007084/6.126, allocations: 1.166 MB / 1.907 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.383e-05/6.126, allocations: 3.469 kB / 1.907 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002865/6.126, allocations: 37.66 kB / 1.907 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/6.126, allocations: 23.53 kB / 1.907 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007597/6.134, allocations: 1.076 MB / 1.908 GB, free: 173 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.01898/6.153, allocations: 4.804 MB / 1.912 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00652/6.16, allocations: 0.9289 MB / 1.913 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003071/6.163, allocations: 476.5 kB / 1.914 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002197/6.165, allocations: 1.057 MB / 1.915 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0039/6.169, allocations: 0.5674 MB / 1.915 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 8.136e-06/6.169, allocations: 2.844 kB / 1.915 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.01145/6.18, allocations: 1.432 MB / 1.917 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/6.181, allocations: 188.2 kB / 1.917 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/6.185, allocations: 1.181 MB / 1.918 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005778/6.186, allocations: 44.8 kB / 1.918 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00154/6.188, allocations: 0.6034 MB / 1.919 GB, free: 165 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007455/6.188, allocations: 246.2 kB / 1.919 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/6.189, allocations: 19.84 kB / 1.919 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001965/6.189, allocations: 341.1 kB / 1.919 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003804/6.193, allocations: 474.5 kB / 1.92 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004318/6.197, allocations: 0.7497 MB / 1.92 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004009/6.201, allocations: 0.5503 MB / 1.921 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.143e-05/6.201, allocations: 3.312 kB / 1.921 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0105/6.212, allocations: 1.369 MB / 1.922 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003202/6.212, allocations: 244.4 kB / 1.923 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.244e-05/6.212, allocations: 4.938 kB / 1.923 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.971e-05/6.212, allocations: 9.781 kB / 1.923 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004459/6.217, allocations: 320.2 kB / 1.923 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/6.218, allocations: 1.193 MB / 1.924 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004457/6.223, allocations: 217.2 kB / 1.924 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000644/6.223, allocations: 57.89 kB / 1.924 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/6.223, allocations: 3.906 kB / 1.924 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008839/6.232, allocations: 1.222 MB / 1.925 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-05/6.232, allocations: 10.83 kB / 1.925 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/6.232, allocations: 6.781 kB / 1.925 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/6.236, allocations: 285.9 kB / 1.926 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.624e-05/6.236, allocations: 22.31 kB / 1.926 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/6.241, allocations: 197.3 kB / 1.926 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006222/6.241, allocations: 56.5 kB / 1.926 GB, free: 160.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002078/6.243, allocations: 380.2 kB / 1.926 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/6.245, allocations: 140.8 kB / 1.927 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008809/6.254, allocations: 1.34 MB / 1.928 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.33e-05/6.254, allocations: 15.84 kB / 1.928 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/6.254, allocations: 3.969 kB / 1.928 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.996e-05/6.254, allocations: 3.984 kB / 1.928 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/6.269, allocations: 2.575 MB / 1.93 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/6.269, allocations: 3.781 kB / 1.93 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/6.272, allocations: 232.4 kB / 1.931 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-05/6.272, allocations: 6.281 kB / 1.931 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003719/6.273, allocations: 31.59 kB / 1.931 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000933/6.274, allocations: 1.188 MB / 1.932 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/6.274, allocations: 3.688 kB / 1.932 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/6.286, allocations: 1.953 MB / 1.934 GB, free: 154.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/6.288, allocations: 350.8 kB / 1.934 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000851/6.288, allocations: 20 kB / 1.934 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003744/6.292, allocations: 129.9 kB / 1.934 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004921/6.293, allocations: 72.5 kB / 1.934 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002776/6.293, allocations: 45.59 kB / 1.934 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00327/6.296, allocations: 0.7856 MB / 1.935 GB, free: 153.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.092e-06/6.297, allocations: 0 / 1.935 GB, free: 153.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007314/6.304, allocations: 0.8795 MB / 1.936 GB, free: 152.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0048/6.309, allocations: 0.8839 MB / 1.937 GB, free: 151.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01179/6.321, allocations: 2.009 MB / 1.939 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-05/6.321, allocations: 2.969 kB / 1.939 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004217/6.325, allocations: 0.6164 MB / 1.939 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009371/6.334, allocations: 0.5894 MB / 1.94 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/6.348, allocations: 2.97 MB / 1.943 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/6.35, allocations: 1.179 MB / 1.944 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004443/6.354, allocations: 352.8 kB / 1.944 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/6.355, allocations: 127.4 kB / 1.944 GB, free: 144 MB / 0.8855 GB Notification: Performance of SimCode: time 2.665e-06/6.355, allocations: 0 / 1.944 GB, free: 144 MB / 0.8855 GB Notification: Performance of Templates: time 0.123/6.478, allocations: 30.88 MB / 1.975 GB, free: 114 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)