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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 176.8 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000882/0.0008818, allocations: 90.38 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.463e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6425/0.6425, allocations: 116.3 MB / 0.9733 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.274/6.917, allocations: 2.358 GB / 3.332 GB, free: 128.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/6.917, allocations: 91.41 kB / 3.332 GB, free: 128.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.135/11.05, allocations: 0.9383 GB / 4.27 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.833e-06/11.05, allocations: 0 / 4.27 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002063/11.05, allocations: 53.39 kB / 4.27 GB, free: 148.1 MB / 0.9636 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.00797/11.06, allocations: 2.105 MB / 4.272 GB, free: 147.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.665e-05/11.06, allocations: 12.38 kB / 4.272 GB, free: 147.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003859/11.06, allocations: 0.5499 MB / 4.273 GB, free: 147.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004299/11.07, allocations: 1.399 MB / 4.274 GB, free: 146.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007228/11.07, allocations: 173.6 kB / 4.274 GB, free: 146.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/11.07, allocations: 70.08 kB / 4.275 GB, free: 146.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001871/11.07, allocations: 0.9561 MB / 4.275 GB, free: 146.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/11.07, allocations: 1.087 MB / 4.276 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/11.07, allocations: 1.688 kB / 4.276 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.922e-05/11.07, allocations: 6.688 kB / 4.277 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.795e-05/11.07, allocations: 47.52 kB / 4.277 GB, free: 146.6 MB / 0.9636 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.01016/11.08, allocations: 5.268 MB / 4.282 GB, free: 144.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/11.08, allocations: 0.7464 MB / 4.282 GB, free: 144.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/11.09, allocations: 397.8 kB / 4.283 GB, free: 144.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009363/11.09, allocations: 0.7519 MB / 4.284 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007869/11.09, allocations: 493.7 kB / 4.284 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=81): time 5.37e-06/11.09, allocations: 0 / 4.284 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81): time 0.002488/11.09, allocations: 0.9603 MB / 4.285 GB, free: 143.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.277e-05/11.09, allocations: 193.3 kB / 4.285 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/11.09, allocations: 0.9122 MB / 4.286 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/11.09, allocations: 32.92 kB / 4.286 GB, free: 143.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006261/11.09, allocations: 0.6656 MB / 4.287 GB, free: 143 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/11.09, allocations: 259.3 kB / 4.287 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/11.09, allocations: 0 / 4.287 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001115/11.09, allocations: 353.5 kB / 4.287 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006158/11.09, allocations: 394.5 kB / 4.288 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008504/11.09, allocations: 0.7143 MB / 4.288 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/11.1, allocations: 0.5123 MB / 4.289 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/11.1, allocations: 3.953 kB / 4.289 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002385/11.1, allocations: 1.234 MB / 4.29 GB, free: 142.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005813/11.1, allocations: 2.065 MB / 4.292 GB, free: 140 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/11.1, allocations: 6.969 kB / 4.292 GB, free: 140 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.201e-05/11.1, allocations: 13.81 kB / 4.292 GB, free: 140 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/11.1, allocations: 344.3 kB / 4.292 GB, free: 140 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006507/11.1, allocations: 1.205 MB / 4.294 GB, free: 138.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/11.1, allocations: 197.8 kB / 4.294 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/11.1, allocations: 62.5 kB / 4.294 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/11.1, allocations: 3.688 kB / 4.294 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002054/11.1, allocations: 1.062 MB / 4.295 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/11.1, allocations: 10.8 kB / 4.295 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/11.1, allocations: 10.09 kB / 4.295 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/11.11, allocations: 321 kB / 4.295 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/11.11, allocations: 24.2 kB / 4.295 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/11.11, allocations: 179.6 kB / 4.295 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/11.11, allocations: 58 kB / 4.295 GB, free: 138.7 MB / 0.9636 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.0003527/11.11, allocations: 137.5 kB / 4.296 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001778/11.11, allocations: 0.9259 MB / 4.297 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/11.11, allocations: 141.7 kB / 4.297 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/11.11, allocations: 1.088 MB / 4.298 GB, free: 138.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/11.11, allocations: 9.938 kB / 4.298 GB, free: 138.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/11.11, allocations: 3.953 kB / 4.298 GB, free: 138.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/11.11, allocations: 3.75 kB / 4.298 GB, free: 138.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004446/11.12, allocations: 2.505 MB / 4.3 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/11.12, allocations: 3.938 kB / 4.3 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/11.12, allocations: 256.1 kB / 4.3 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/11.12, allocations: 11.19 kB / 4.3 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.237e-05/11.12, allocations: 19.03 kB / 4.3 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004599/11.12, allocations: 1.198 MB / 4.302 GB, free: 136.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/11.12, allocations: 7.391 kB / 4.302 GB, free: 136.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/11.12, allocations: 1.907 MB / 4.303 GB, free: 136 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007665/11.12, allocations: 366.4 kB / 4.304 GB, free: 135.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/11.12, allocations: 11.25 kB / 4.304 GB, free: 135.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/11.12, allocations: 131.8 kB / 4.304 GB, free: 135.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/11.12, allocations: 72.23 kB / 4.304 GB, free: 135.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/11.12, allocations: 39.73 kB / 4.304 GB, free: 135.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001067/11.13, allocations: 0.6739 MB / 4.305 GB, free: 135.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.6e-07/11.13, allocations: 0 / 4.305 GB, free: 135.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003723/11.13, allocations: 0.9827 MB / 4.306 GB, free: 135.6 MB / 0.9636 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.007115/11.14, allocations: 5.622 MB / 4.311 GB, free: 133 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003399/11.14, allocations: 1.774 MB / 4.313 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/11.14, allocations: 2.656 kB / 4.313 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008759/11.14, allocations: 0.5012 MB / 4.313 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/11.14, allocations: 0.5183 MB / 4.314 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005817/11.15, allocations: 2.364 MB / 4.316 GB, free: 132 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/11.15, allocations: 1.275 MB / 4.317 GB, free: 131.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002238/11.15, allocations: 467.9 kB / 4.318 GB, free: 131.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007873/11.15, allocations: 0.5669 MB / 4.318 GB, free: 131.2 MB / 0.9636 GB Notification: Performance of SimCode: time 1.764e-06/11.15, allocations: 0.9375 kB / 4.318 GB, free: 131.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/11.26, allocations: 51.65 MB / 4.369 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/11.26, allocations: 208.2 kB / 4.369 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.657/15.92, allocations: 7.781 kB / 4.369 GB, free: 128.6 MB / 0.9636 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)