Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001224/0.001224, allocations: 191.7 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 64.91 kB / 0.9113 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3058, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.8295/1.135, allocations: 208.7 MB / 1.271 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01541/1.151, allocations: 10.87 MB / 1.282 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00301/1.154, allocations: 54.5 kB / 1.282 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002641/1.156, allocations: 0.6742 MB / 1.283 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007757/1.164, allocations: 2.256 MB / 1.285 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006628/1.171, allocations: 2.033 MB / 1.287 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007399/1.178, allocations: 4.592 MB / 1.291 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/1.181, allocations: 1.142 MB / 1.292 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004257/1.185, allocations: 1.74 MB / 1.294 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/1.188, allocations: 1.147 MB / 1.295 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005723/1.188, allocations: 81.53 kB / 1.295 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007422/1.196, allocations: 3.189 MB / 1.298 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000883/1.197, allocations: 402.1 kB / 1.299 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002226/1.199, allocations: 0.8288 MB / 1.3 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008135/1.207, allocations: 3.326 MB / 1.303 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.207, allocations: 1.125 kB / 1.303 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/1.207, allocations: 0 / 1.303 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001431/1.207, allocations: 0 / 1.303 GB, free: 4.359 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.008708/1.216, allocations: 2.354 MB / 1.305 GB, free: 19.17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.216, allocations: 13.81 kB / 1.305 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003334/1.219, allocations: 0.5366 MB / 1.306 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/1.222, allocations: 1.259 MB / 1.307 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006577/1.223, allocations: 200.4 kB / 1.307 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/1.223, allocations: 117.3 kB / 1.307 GB, free: 18.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/1.226, allocations: 1.323 MB / 1.309 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/1.226, allocations: 2.906 kB / 1.309 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/1.226, allocations: 41.52 kB / 1.309 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/1.226, allocations: 47.16 kB / 1.309 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003234/1.229, allocations: 1.341 MB / 1.31 GB, free: 18.44 MB / 1.014 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.008997/1.238, allocations: 5.281 MB / 1.315 GB, free: 16.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/1.241, allocations: 1.013 MB / 1.316 GB, free: 16.17 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/1.242, allocations: 0.5413 MB / 1.317 GB, free: 16.15 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/1.243, allocations: 0.7467 MB / 1.317 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001404/1.245, allocations: 0.6168 MB / 1.318 GB, free: 15.33 MB / 1.014 GB Notification: Performance of pre-optimization done (n=81): time 3.056e-06/1.245, allocations: 0 / 1.318 GB, free: 15.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.004367/1.249, allocations: 1.588 MB / 1.32 GB, free: 15.16 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/1.249, allocations: 60.16 kB / 1.32 GB, free: 15.1 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/1.251, allocations: 1.327 MB / 1.321 GB, free: 14.93 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001653/1.252, allocations: 46.73 kB / 1.321 GB, free: 14.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006251/1.252, allocations: 0.6453 MB / 1.322 GB, free: 14.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/1.252, allocations: 279.1 kB / 1.322 GB, free: 14.51 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000369/1.253, allocations: 231.8 kB / 1.322 GB, free: 14.49 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.253, allocations: 349.3 kB / 1.322 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/1.254, allocations: 0.5047 MB / 1.323 GB, free: 14.16 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/1.256, allocations: 0.7774 MB / 1.324 GB, free: 13.89 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002467/1.258, allocations: 1.177 MB / 1.325 GB, free: 13.65 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.258, allocations: 0 / 1.325 GB, free: 13.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003254/1.261, allocations: 1.465 MB / 1.326 GB, free: 13.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/1.261, allocations: 34.39 kB / 1.326 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.261, allocations: 8.812 kB / 1.326 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/1.261, allocations: 11.19 kB / 1.326 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/1.263, allocations: 332.6 kB / 1.327 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000784/1.264, allocations: 1.201 MB / 1.328 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/1.266, allocations: 223.2 kB / 1.328 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/1.266, allocations: 50.5 kB / 1.328 GB, free: 12.19 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001664/1.268, allocations: 0.7498 MB / 1.329 GB, free: 12.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001417/1.269, allocations: 0.758 MB / 1.329 GB, free: 11.84 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00246/1.272, allocations: 1.168 MB / 1.331 GB, free: 11.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.719e-06/1.272, allocations: 3.344 kB / 1.331 GB, free: 11.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.003305/1.275, allocations: 1.448 MB / 1.332 GB, free: 11.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/1.275, allocations: 32.25 kB / 1.332 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/1.275, allocations: 5.625 kB / 1.332 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/1.275, allocations: 14.95 kB / 1.332 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/1.276, allocations: 308.4 kB / 1.332 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/1.276, allocations: 16.25 kB / 1.332 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/1.278, allocations: 201 kB / 1.333 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/1.278, allocations: 54.83 kB / 1.333 GB, free: 11.31 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003854/1.279, allocations: 244.1 kB / 1.333 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/1.279, allocations: 155.6 kB / 1.333 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/1.282, allocations: 1.329 MB / 1.334 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/1.283, allocations: 8.188 kB / 1.334 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.283, allocations: 3.938 kB / 1.334 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/1.283, allocations: 5.422 kB / 1.334 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005423/1.288, allocations: 2.844 MB / 1.337 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/1.288, allocations: 6.219 kB / 1.337 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.289, allocations: 229.4 kB / 1.337 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/1.289, allocations: 6.125 kB / 1.337 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.701e-05/1.289, allocations: 31.02 kB / 1.337 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006713/1.29, allocations: 1.19 MB / 1.339 GB, free: 8.898 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/1.29, allocations: 3.188 kB / 1.339 GB, free: 8.898 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004746/1.295, allocations: 2.053 MB / 1.341 GB, free: 7.969 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007211/1.296, allocations: 365.3 kB / 1.341 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/1.296, allocations: 21.55 kB / 1.341 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.297, allocations: 148.1 kB / 1.341 GB, free: 7.672 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.297, allocations: 68.41 kB / 1.341 GB, free: 7.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.214e-05/1.297, allocations: 49.86 kB / 1.341 GB, free: 7.645 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001292/1.299, allocations: 0.8951 MB / 1.342 GB, free: 7.297 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.299, allocations: 0 / 1.342 GB, free: 7.297 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002387/1.301, allocations: 0.7917 MB / 1.343 GB, free: 7.148 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * 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): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00123/1.302, allocations: 479.2 kB / 1.343 GB, free: 6.961 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005297/1.308, allocations: 2.04 MB / 1.345 GB, free: 6.316 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.308, allocations: 0 / 1.345 GB, free: 6.316 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/1.309, allocations: 0.6239 MB / 1.346 GB, free: 6.152 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/1.313, allocations: 0.6951 MB / 1.347 GB, free: 5.965 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005441/1.318, allocations: 3.237 MB / 1.35 GB, free: 4.035 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/1.319, allocations: 1.229 MB / 1.351 GB, free: 3.281 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001857/1.321, allocations: 409.9 kB / 1.351 GB, free: 3.18 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/1.321, allocations: 121 kB / 1.351 GB, free: 3.16 MB / 1.014 GB Notification: Performance of SimCode: time 7.92e-07/1.321, allocations: 0 / 1.351 GB, free: 3.16 MB / 1.014 GB Notification: Performance of Templates: time 0.04766/1.369, allocations: 29.54 MB / 1.38 GB, free: 14.5 MB / 1.045 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)