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 2.261/2.261, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001866/0.001866, allocations: 172.7 kB / 326.3 MB, free: 2.867 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.363/2.363, allocations: 205.4 MB / 0.5772 GB, free: 20.84 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.000976/0.0009753, allocations: 94.42 kB / 0.6817 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007111/0.0007114, allocations: 12.19 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2419, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.0526/0.2945, allocations: 44.41 MB / 0.9429 GB, free: 20.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02369/0.3183, allocations: 13.03 MB / 0.9556 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.3206, allocations: 55.56 kB / 0.9556 GB, free: 7.828 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.3231, allocations: 0.52 MB / 0.9562 GB, free: 7.305 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006177/0.3294, allocations: 1.509 MB / 0.9576 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.3398, allocations: 2.637 MB / 0.9602 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006189/0.346, allocations: 3.763 MB / 0.9639 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002528/0.3486, allocations: 0.9657 MB / 0.9648 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004214/0.3528, allocations: 1.213 MB / 0.966 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002499/0.3554, allocations: 0.9215 MB / 0.9669 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004419/0.3559, allocations: 56 kB / 0.967 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006178/0.3621, allocations: 1.989 MB / 0.9689 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006957/0.3628, allocations: 258.7 kB / 0.9691 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0007534/0.3636, allocations: 312.9 kB / 0.9694 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005051/0.3686, allocations: 2.081 MB / 0.9715 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3687, allocations: 0 / 0.9715 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3687, allocations: 0 / 0.9715 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.774e-05/0.3688, allocations: 3.938 kB / 0.9715 GB, free: 7.566 MB / 0.6198 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.005435/0.3742, allocations: 1.859 MB / 0.9733 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.3743, allocations: 12.03 kB / 0.9733 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003094/0.3774, allocations: 421.7 kB / 0.9737 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004068/0.3815, allocations: 1.126 MB / 0.9748 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001306/0.3828, allocations: 210.2 kB / 0.975 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003768/0.3832, allocations: 103.9 kB / 0.9751 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004092/0.3873, allocations: 1.134 MB / 0.9762 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.3874, allocations: 0 / 0.9762 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.3876, allocations: 39.94 kB / 0.9763 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.3876, allocations: 24 kB / 0.9763 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007468/0.3951, allocations: 1.058 MB / 0.9773 GB, free: 1.434 MB / 0.6198 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.02018/0.4154, allocations: 4.762 MB / 0.982 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006979/0.4224, allocations: 0.9003 MB / 0.9828 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00334/0.4258, allocations: 482.6 kB / 0.9833 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002883/0.4287, allocations: 1.088 MB / 0.9844 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003752/0.4326, allocations: 0.543 MB / 0.9849 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 1.109e-05/0.4326, allocations: 4 kB / 0.9849 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.01057/0.4432, allocations: 1.398 MB / 0.9863 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.4434, allocations: 141.1 kB / 0.9864 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003763/0.4472, allocations: 1.175 MB / 0.9875 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003705/0.4476, allocations: 49.7 kB / 0.9876 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.4488, allocations: 0.6031 MB / 0.9882 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005817/0.4494, allocations: 248.3 kB / 0.9884 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.4496, allocations: 20 kB / 0.9884 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002462/0.4499, allocations: 345.9 kB / 0.9888 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003602/0.4535, allocations: 461.7 kB / 0.9892 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004162/0.4577, allocations: 0.7084 MB / 0.9899 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003918/0.4617, allocations: 0.5317 MB / 0.9904 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.4617, allocations: 0 / 0.9904 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009032/0.4708, allocations: 1.356 MB / 0.9917 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000317/0.4712, allocations: 243.6 kB / 0.992 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.724e-05/0.4712, allocations: 8 kB / 0.992 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.353e-05/0.4713, allocations: 12 kB / 0.992 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004526/0.4758, allocations: 311.5 kB / 0.9923 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.4775, allocations: 1.195 MB / 0.9935 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004114/0.4817, allocations: 200 kB / 0.9937 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004678/0.4822, allocations: 59.89 kB / 0.9937 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4822, allocations: 8 kB / 0.9937 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008605/0.4909, allocations: 1.208 MB / 0.9949 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.365e-05/0.491, allocations: 4 kB / 0.9949 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/0.491, allocations: 12 kB / 0.9949 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003743/0.4948, allocations: 283.8 kB / 0.9952 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.88e-05/0.4949, allocations: 8 kB / 0.9952 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003833/0.4987, allocations: 202.9 kB / 0.9954 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000423/0.4992, allocations: 47.98 kB / 0.9954 GB, free: 14.07 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (122): * Single equations (assignments): 117 * 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.001478/0.5007, allocations: 386.4 kB / 0.9958 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007459/0.5015, allocations: 142.2 kB / 0.9959 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009399/0.5109, allocations: 1.322 MB / 0.9972 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-05/0.511, allocations: 3.984 kB / 0.9972 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.511, allocations: 0 / 0.9972 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/0.5126, allocations: 358.7 kB / 0.9976 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006668/0.5133, allocations: 19.94 kB / 0.9976 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003299/0.5167, allocations: 119.8 kB / 0.9977 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004764/0.5172, allocations: 60.91 kB / 0.9978 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01047/0.5277, allocations: 1.3 MB / 0.999 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01264/0.5404, allocations: 1.932 MB / 1.001 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003782/0.5443, allocations: 0.531 MB / 1.001 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003049/0.5474, allocations: 0.7856 MB / 1.002 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of Backend: time 1.943e-06/0.5474, allocations: 0 / 1.002 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01569/0.5631, allocations: 2.193 MB / 1.004 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of SimCode: time 0.01408/0.5773, allocations: 3.369 MB / 1.008 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.1386/0.716, allocations: 33.27 MB / 1.04 GB, free: 428 kB / 0.6823 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)