Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001748, 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.002191/0.002192, allocations: 195.4 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.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.36 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3085, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.7939/1.102, allocations: 204.5 MB / 1.267 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0205/1.123, allocations: 13.85 MB / 1.281 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003534/1.127, allocations: 48.16 kB / 1.281 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002809/1.129, allocations: 0.6508 MB / 1.281 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007538/1.137, allocations: 2.066 MB / 1.283 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006409/1.143, allocations: 1.832 MB / 1.285 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00676/1.15, allocations: 4.165 MB / 1.289 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/1.152, allocations: 1.006 MB / 1.29 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006404/1.159, allocations: 1.638 MB / 1.292 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/1.162, allocations: 1.056 MB / 1.293 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000582/1.162, allocations: 67.38 kB / 1.293 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008229/1.171, allocations: 3.201 MB / 1.296 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009/1.172, allocations: 371 kB / 1.297 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002674/1.174, allocations: 0.7287 MB / 1.297 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008524/1.183, allocations: 3.143 MB / 1.3 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.183, allocations: 0 / 1.3 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/1.183, allocations: 3.328 kB / 1.3 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.784e-05/1.183, allocations: 0 / 1.3 GB, free: 4.465 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.006117/1.189, allocations: 2.114 MB / 1.302 GB, free: 19.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.189, allocations: 13.56 kB / 1.302 GB, free: 19.33 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/1.192, allocations: 0.513 MB / 1.303 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/1.195, allocations: 1.084 MB / 1.304 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000677/1.195, allocations: 191.2 kB / 1.304 GB, free: 18.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/1.196, allocations: 97.28 kB / 1.304 GB, free: 18.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/1.198, allocations: 1.258 MB / 1.305 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/1.198, allocations: 1.094 kB / 1.305 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/1.198, allocations: 40.12 kB / 1.305 GB, free: 18.72 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-05/1.198, allocations: 41.94 kB / 1.306 GB, free: 18.72 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/1.202, allocations: 1.291 MB / 1.307 GB, free: 18.69 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.008837/1.211, allocations: 4.86 MB / 1.312 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/1.213, allocations: 0.9936 MB / 1.312 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/1.214, allocations: 0.5621 MB / 1.313 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/1.216, allocations: 0.8378 MB / 1.314 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00144/1.217, allocations: 0.6869 MB / 1.315 GB, free: 15.58 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.316e-06/1.217, allocations: 0 / 1.315 GB, free: 15.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.004376/1.221, allocations: 1.728 MB / 1.316 GB, free: 15.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/1.221, allocations: 120.3 kB / 1.316 GB, free: 15.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/1.223, allocations: 1.042 MB / 1.317 GB, free: 15.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/1.223, allocations: 45.52 kB / 1.317 GB, free: 15.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/1.223, allocations: 0.5308 MB / 1.318 GB, free: 14.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/1.224, allocations: 268.9 kB / 1.318 GB, free: 14.71 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/1.224, allocations: 207.4 kB / 1.318 GB, free: 14.68 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.224, allocations: 348.5 kB / 1.319 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/1.225, allocations: 0.4951 MB / 1.319 GB, free: 14.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/1.227, allocations: 0.6878 MB / 1.32 GB, free: 14.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/1.229, allocations: 1.175 MB / 1.321 GB, free: 13.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.229, allocations: 1.812 kB / 1.321 GB, free: 13.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003255/1.232, allocations: 1.456 MB / 1.322 GB, free: 13.74 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.166e-05/1.232, allocations: 72.2 kB / 1.322 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.232, allocations: 3.406 kB / 1.322 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/1.232, allocations: 8.812 kB / 1.322 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/1.234, allocations: 247.7 kB / 1.323 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/1.234, allocations: 10.77 kB / 1.323 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/1.235, allocations: 209.8 kB / 1.323 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/1.235, allocations: 47.42 kB / 1.323 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001661/1.237, allocations: 0.7329 MB / 1.324 GB, free: 13.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001333/1.238, allocations: 0.679 MB / 1.324 GB, free: 13.33 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002296/1.241, allocations: 1.172 MB / 1.326 GB, free: 13.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/1.241, allocations: 0 / 1.326 GB, free: 13.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.003214/1.244, allocations: 1.447 MB / 1.327 GB, free: 12.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/1.244, allocations: 76.88 kB / 1.327 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.244, allocations: 7.156 kB / 1.327 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/1.244, allocations: 5.219 kB / 1.327 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/1.245, allocations: 253.7 kB / 1.327 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/1.245, allocations: 4.875 kB / 1.327 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/1.247, allocations: 179.4 kB / 1.327 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/1.247, allocations: 51.89 kB / 1.327 GB, free: 12.75 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (hex.flowRegime_nominal,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004277/1.248, allocations: 310.8 kB / 1.328 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/1.248, allocations: 133.2 kB / 1.328 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003217/1.251, allocations: 1.464 MB / 1.329 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/1.251, allocations: 13 kB / 1.329 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/1.251, allocations: 7.938 kB / 1.329 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.251, allocations: 3.047 kB / 1.329 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005342/1.256, allocations: 2.934 MB / 1.332 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.256, allocations: 2.781 kB / 1.332 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009921/1.257, allocations: 192.7 kB / 1.332 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/1.257, allocations: 7.031 kB / 1.332 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.389e-05/1.258, allocations: 36.31 kB / 1.332 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.34e-05/1.258, allocations: 9.453 kB / 1.332 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.258, allocations: 3.406 kB / 1.332 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004263/1.262, allocations: 2.236 MB / 1.335 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006383/1.263, allocations: 339 kB / 1.335 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/1.263, allocations: 25.88 kB / 1.335 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/1.264, allocations: 142.5 kB / 1.335 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/1.264, allocations: 63.16 kB / 1.335 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.646e-05/1.264, allocations: 44.42 kB / 1.335 GB, free: 11.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009425/1.265, allocations: 0.7105 MB / 1.336 GB, free: 10.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/1.265, allocations: 0 / 1.336 GB, free: 10.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002121/1.267, allocations: 0.7995 MB / 1.337 GB, free: 10.83 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/1.268, allocations: 0.5212 MB / 1.337 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004544/1.273, allocations: 2.193 MB / 1.339 GB, free: 9.781 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.273, allocations: 0 / 1.339 GB, free: 9.781 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/1.275, allocations: 0.7614 MB / 1.34 GB, free: 9.465 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/1.277, allocations: 0.5229 MB / 1.341 GB, free: 9.316 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/1.282, allocations: 2.855 MB / 1.343 GB, free: 7.641 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/1.283, allocations: 1.156 MB / 1.345 GB, free: 6.898 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001627/1.284, allocations: 358.5 kB / 1.345 GB, free: 6.797 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/1.285, allocations: 104.7 kB / 1.345 GB, free: 6.785 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/1.285, allocations: 0 / 1.345 GB, free: 6.785 MB / 1.014 GB Notification: Performance of Templates: time 0.04117/1.326, allocations: 25.68 MB / 1.37 GB, free: 8 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)