Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 169 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.3 MB / 0.5671 GB, free: 15.94 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.00104/0.00104, allocations: 94.16 kB / 0.6714 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.197e-05/2.209e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2064, allocations: 106.3 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.434/5.64, allocations: 2.475 GB / 3.361 GB, free: 274.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/5.641, allocations: 87.95 kB / 3.361 GB, free: 274.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.634/8.274, allocations: 0.9111 GB / 4.272 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.372e-06/8.275, allocations: 0 / 4.272 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001829/8.275, allocations: 51.92 kB / 4.272 GB, free: 11.21 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.006817/8.282, allocations: 2.106 MB / 4.274 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/8.282, allocations: 16.02 kB / 4.274 GB, free: 9.031 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003343/8.285, allocations: 0.5482 MB / 4.274 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003693/8.289, allocations: 1.395 MB / 4.276 GB, free: 7.031 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006912/8.289, allocations: 173.9 kB / 4.276 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002802/8.29, allocations: 76 kB / 4.276 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002008/8.292, allocations: 0.9646 MB / 4.277 GB, free: 5.824 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/8.294, allocations: 1.082 MB / 4.278 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/8.294, allocations: 0 / 4.278 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.544e-05/8.294, allocations: 4 kB / 4.278 GB, free: 4.684 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-05/8.294, allocations: 45.98 kB / 4.278 GB, free: 4.637 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.01211/8.306, allocations: 5.279 MB / 4.283 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/8.307, allocations: 0.7389 MB / 4.284 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000585/8.308, allocations: 399 kB / 4.284 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/8.309, allocations: 0.7475 MB / 4.285 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008293/8.31, allocations: 496.4 kB / 4.285 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=81): time 2.816e-06/8.31, allocations: 3.938 kB / 4.285 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81): time 0.002496/8.312, allocations: 0.9553 MB / 4.286 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/8.313, allocations: 192.7 kB / 4.287 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/8.314, allocations: 0.9129 MB / 4.288 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/8.314, allocations: 25.7 kB / 4.288 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006945/8.315, allocations: 0.6576 MB / 4.288 GB, free: 9.707 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/8.315, allocations: 275.9 kB / 4.288 GB, free: 9.434 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/8.315, allocations: 0 / 4.288 GB, free: 9.434 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001807/8.315, allocations: 349.9 kB / 4.289 GB, free: 9.086 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/8.316, allocations: 390.5 kB / 4.289 GB, free: 8.707 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009631/8.317, allocations: 0.7022 MB / 4.29 GB, free: 7.879 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/8.318, allocations: 0.5158 MB / 4.29 GB, free: 7.367 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/8.318, allocations: 112 / 4.29 GB, free: 7.367 MB / 0.9011 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002754/8.321, allocations: 1.237 MB / 4.292 GB, free: 6.121 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009376/8.322, allocations: 2.059 MB / 4.294 GB, free: 3.922 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/8.322, allocations: 4 kB / 4.294 GB, free: 3.918 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/8.322, allocations: 16 kB / 4.294 GB, free: 3.902 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/8.324, allocations: 343.5 kB / 4.294 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008166/8.325, allocations: 1.215 MB / 4.295 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/8.327, allocations: 195 kB / 4.295 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/8.327, allocations: 55.97 kB / 4.295 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/8.327, allocations: 5.25 kB / 4.295 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002192/8.329, allocations: 1.065 MB / 4.296 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/8.329, allocations: 4 kB / 4.296 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/8.329, allocations: 15.94 kB / 4.296 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/8.331, allocations: 328 kB / 4.297 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/8.331, allocations: 12 kB / 4.297 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/8.332, allocations: 179.1 kB / 4.297 GB, free: 472 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/8.332, allocations: 55.97 kB / 4.297 GB, free: 416 kB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * 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.0002942/8.333, allocations: 140.9 kB / 4.297 GB, free: 268 kB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.5729/8.906, allocations: 0.9129 MB / 4.298 GB, free: 136.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/8.906, allocations: 141.5 kB / 4.298 GB, free: 136.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/8.908, allocations: 1.093 MB / 4.299 GB, free: 136.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/8.908, allocations: 9.719 kB / 4.299 GB, free: 136.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/8.908, allocations: 4.109 kB / 4.299 GB, free: 136.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/8.909, allocations: 4.688 kB / 4.299 GB, free: 136.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005947/8.914, allocations: 2.502 MB / 4.302 GB, free: 136.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/8.915, allocations: 3.5 kB / 4.302 GB, free: 136.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/8.916, allocations: 246.4 kB / 4.302 GB, free: 136.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/8.916, allocations: 9.062 kB / 4.302 GB, free: 136.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-05/8.916, allocations: 21.81 kB / 4.302 GB, free: 136.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004022/8.916, allocations: 1.194 MB / 4.303 GB, free: 135.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/8.916, allocations: 6.844 kB / 4.303 GB, free: 135.1 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003538/8.92, allocations: 1.911 MB / 4.305 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009313/8.921, allocations: 356.7 kB / 4.305 GB, free: 134.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/8.921, allocations: 8.094 kB / 4.305 GB, free: 134.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/8.923, allocations: 137.5 kB / 4.305 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/8.923, allocations: 77.66 kB / 4.305 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-05/8.923, allocations: 40.12 kB / 4.306 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001226/8.924, allocations: 0.6782 MB / 4.306 GB, free: 134.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/8.924, allocations: 0 / 4.306 GB, free: 134.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004066/8.928, allocations: 0.9791 MB / 4.307 GB, free: 134.1 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.007215/8.935, allocations: 5.626 MB / 4.313 GB, free: 131.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003733/8.939, allocations: 1.774 MB / 4.314 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/8.939, allocations: 1.375 kB / 4.314 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/8.94, allocations: 0.4996 MB / 4.315 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/8.943, allocations: 0.5113 MB / 4.315 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006018/8.949, allocations: 2.345 MB / 4.318 GB, free: 130.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/8.951, allocations: 1.271 MB / 4.319 GB, free: 130 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003007/8.954, allocations: 467.4 kB / 4.319 GB, free: 130 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008623/8.955, allocations: 0.5674 MB / 4.32 GB, free: 130 MB / 0.9011 GB Notification: Performance of SimCode: time 1.533e-06/8.955, allocations: 3.469 kB / 4.32 GB, free: 130 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09695/9.052, allocations: 51.59 MB / 4.37 GB, free: 129.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/9.052, allocations: 208.4 kB / 4.37 GB, free: 128.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.169/13.22, allocations: 0 / 4.37 GB, free: 128.9 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)