Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.93/1.93, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008616/0.0008617, allocations: 17.34 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3164, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.7969/1.113, allocations: 175.9 MB / 0.959 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02154/1.135, allocations: 12.21 MB / 0.9709 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003173/1.138, allocations: 53.94 kB / 0.9709 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003481/1.142, allocations: 0.7598 MB / 0.9717 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008578/1.15, allocations: 2.203 MB / 0.9738 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01047/1.161, allocations: 2.859 MB / 0.9766 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00603/1.167, allocations: 2.215 MB / 0.9788 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/1.169, allocations: 1.025 MB / 0.9798 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004631/1.174, allocations: 1.475 MB / 0.9812 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/1.176, allocations: 0.8047 MB / 0.982 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003183/1.176, allocations: 62.12 kB / 0.9821 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006469/1.183, allocations: 2.102 MB / 0.9841 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006654/1.184, allocations: 353.2 kB / 0.9845 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009539/1.185, allocations: 348.4 kB / 0.9848 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004665/1.189, allocations: 2.271 MB / 0.987 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.189, allocations: 0 / 0.987 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.978e-06/1.189, allocations: 0 / 0.987 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.2e-05/1.189, allocations: 1.969 kB / 0.987 GB, free: 19.13 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.004821/1.194, allocations: 2.055 MB / 0.989 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.194, allocations: 8.438 kB / 0.989 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002326/1.195, allocations: 155 kB / 0.9892 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/1.198, allocations: 0.5944 MB / 0.9898 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/1.2, allocations: 1.183 MB / 0.9909 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000622/1.201, allocations: 215.9 kB / 0.9911 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/1.201, allocations: 115 kB / 0.9912 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/1.204, allocations: 1.371 MB / 0.9926 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/1.204, allocations: 0 / 0.9926 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/1.204, allocations: 43.36 kB / 0.9926 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/1.204, allocations: 40.78 kB / 0.9926 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/1.207, allocations: 1.388 MB / 0.994 GB, free: 16.13 MB / 0.7325 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.009723/1.217, allocations: 5.35 MB / 0.9992 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/1.219, allocations: 1.184 MB / 1 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008937/1.22, allocations: 0.6096 MB / 1.001 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/1.222, allocations: 0.6307 MB / 1.002 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.016e-06/1.222, allocations: 0 / 1.002 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.004443/1.226, allocations: 1.674 MB / 1.003 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/1.226, allocations: 137.3 kB / 1.003 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/1.228, allocations: 1.342 MB / 1.005 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002013/1.229, allocations: 48.45 kB / 1.005 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006135/1.229, allocations: 0.6507 MB / 1.005 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/1.23, allocations: 283.5 kB / 1.006 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/1.23, allocations: 31.89 kB / 1.006 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.23, allocations: 347.5 kB / 1.006 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/1.231, allocations: 0.5367 MB / 1.007 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/1.233, allocations: 0.8319 MB / 1.007 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/1.234, allocations: 0.6212 MB / 1.008 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.234, allocations: 1.969 kB / 1.008 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003677/1.238, allocations: 1.556 MB / 1.009 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007183/1.238, allocations: 1.991 MB / 1.011 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/1.238, allocations: 14.12 kB / 1.011 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/1.238, allocations: 10.86 kB / 1.011 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.24, allocations: 351.3 kB / 1.012 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000812/1.241, allocations: 1.195 MB / 1.013 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/1.243, allocations: 241.5 kB / 1.013 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/1.243, allocations: 55.81 kB / 1.013 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/1.243, allocations: 6.031 kB / 1.013 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003078/1.246, allocations: 1.398 MB / 1.015 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/1.246, allocations: 8.953 kB / 1.015 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/1.246, allocations: 11.19 kB / 1.015 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/1.247, allocations: 324.3 kB / 1.015 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/1.247, allocations: 14.22 kB / 1.015 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.249, allocations: 222 kB / 1.015 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.249, allocations: 55.78 kB / 1.015 GB, free: 5.277 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (135): * Single equations (assignments): 130 * 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.0008194/1.25, allocations: 416.8 kB / 1.016 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/1.25, allocations: 159.9 kB / 1.016 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/1.253, allocations: 1.384 MB / 1.017 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.253, allocations: 11.62 kB / 1.017 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.254, allocations: 0 / 1.017 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/1.254, allocations: 6.609 kB / 1.017 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005025/1.259, allocations: 2.913 MB / 1.02 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/1.259, allocations: 4.969 kB / 1.02 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/1.26, allocations: 254.3 kB / 1.02 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/1.26, allocations: 8.938 kB / 1.02 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.649e-05/1.26, allocations: 27.33 kB / 1.02 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005359/1.26, allocations: 1.192 MB / 1.021 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.363e-06/1.26, allocations: 9.141 kB / 1.021 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004278/1.265, allocations: 2.352 MB / 1.024 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008014/1.265, allocations: 377.6 kB / 1.024 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/1.266, allocations: 27.55 kB / 1.024 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/1.267, allocations: 136.6 kB / 1.024 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/1.267, allocations: 72.89 kB / 1.024 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.147e-05/1.267, allocations: 43.14 kB / 1.024 GB, free: 224 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001168/1.268, allocations: 0.8939 MB / 1.025 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/1.268, allocations: 2.438 kB / 1.025 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002143/1.27, allocations: 0.8301 MB / 1.026 GB, free: 14.8 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.006/1.276, allocations: 4.29 MB / 1.03 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00526/1.282, allocations: 2.222 MB / 1.032 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.669e-06/1.282, allocations: 8.125 kB / 1.032 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001592/1.283, allocations: 0.6656 MB / 1.033 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003421/1.287, allocations: 0.6917 MB / 1.034 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008072/1.295, allocations: 7.301 MB / 1.041 GB, free: 0.5312 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/1.296, allocations: 1.27 MB / 1.042 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001895/1.298, allocations: 415.7 kB / 1.042 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007398/1.298, allocations: 0.5813 MB / 1.043 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of SimCode: time 5.81e-07/1.298, allocations: 0 / 1.043 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.263/3.561, allocations: 42.97 MB / 1.085 GB, free: 3.965 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/3.561, allocations: 269.8 kB / 1.085 GB, free: 3.613 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.812/9.374, allocations: 1.969 kB / 1.085 GB, free: 3.613 MB / 0.795 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: